Skip to content

Commit 6ed23c3

Browse files
shenkilinusw
authored andcommitted
dt-bindings: pinctrl: aspeed: Update gfx node in example
The example needs updating to match the to be added yaml bindings for the gfx node. Signed-off-by: Joel Stanley <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent f164935 commit 6ed23c3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ additionalProperties: false
7373

7474
examples:
7575
- |
76+
#include <dt-bindings/clock/aspeed-clock.h>
7677
apb {
7778
compatible = "simple-bus";
7879
#address-cells = <1>;
@@ -82,6 +83,8 @@ examples:
8283
syscon: scu@1e6e2000 {
8384
compatible = "aspeed,ast2500-scu", "syscon", "simple-mfd";
8485
reg = <0x1e6e2000 0x1a8>;
86+
#clock-cells = <1>;
87+
#reset-cells = <1>;
8588
8689
pinctrl: pinctrl {
8790
compatible = "aspeed,ast2500-pinctrl";
@@ -102,6 +105,12 @@ examples:
102105
gfx: display@1e6e6000 {
103106
compatible = "aspeed,ast2500-gfx", "syscon";
104107
reg = <0x1e6e6000 0x1000>;
108+
reg-io-width = <4>;
109+
clocks = <&syscon ASPEED_CLK_GATE_D1CLK>;
110+
resets = <&syscon ASPEED_RESET_CRT1>;
111+
interrupts = <0x19>;
112+
syscon = <&syscon>;
113+
memory-region = <&gfx_memory>;
105114
};
106115
};
107116
@@ -128,3 +137,10 @@ examples:
128137
};
129138
};
130139
};
140+
141+
gfx_memory: framebuffer {
142+
size = <0x01000000>;
143+
alignment = <0x01000000>;
144+
compatible = "shared-dma-pool";
145+
reusable;
146+
};

0 commit comments

Comments
 (0)