ARM: dts: aspeed-g5: Add resets and clocks to GFX node
authorJoel Stanley <joel@jms.id.au>
Thu, 19 Apr 2018 04:20:02 +0000 (13:50 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 5 Apr 2019 03:33:03 +0000 (14:03 +1030)
The ast2500 has a reset for the CRT device that must be deasserted
before it can be used. Similarly it has a clock gate for a clock called
D1CLK that must be set to running.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g5.dtsi

index 85ed9db..0422118 100644 (file)
                                compatible = "aspeed,ast2500-gfx", "syscon";
                                reg = <0x1e6e6000 0x1000>;
                                reg-io-width = <4>;
+                               clocks = <&syscon ASPEED_CLK_GATE_D1CLK>;
+                               resets = <&syscon ASPEED_RESET_CRT1>;
+                               status = "disabled";
+                               interrupts = <0x19>;
                        };
 
                        adc: adc@1e6e9000 {