]> www.infradead.org Git - linux.git/commitdiff
riscv: dts: thead: add clock to TH1520 gpio nodes
authorDrew Fustini <dfustini@tenstorrent.com>
Thu, 1 Aug 2024 18:38:09 +0000 (11:38 -0700)
committerDrew Fustini <drew@pdp7.com>
Thu, 8 Aug 2024 16:19:46 +0000 (09:19 -0700)
Add clock property to TH1520 gpio controller nodes. These clock gates
refer to corresponding enable bits in the peripheral clock gate control
register. Refer to register PERI_CLK_CFG in section 4.4.2.2.52 of the
TH1520 System User Manual.

Link: https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/tree/main/docs
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
arch/riscv/boot/dts/thead/th1520.dtsi

index 6ea5cabbcf603ac06e859a09102d9334fae5b61c..5f4f94ca9cc77a809f6254c66df97f543fd560c2 100644 (file)
                        reg = <0xff 0xe7f34000 0x0 0x1000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clocks = <&clk CLK_GPIO2>;
 
                        portc: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
                        reg = <0xff 0xe7f38000 0x0 0x1000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clocks = <&clk CLK_GPIO3>;
 
                        portd: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
                        reg = <0xff 0xec005000 0x0 0x1000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clocks = <&clk CLK_GPIO0>;
 
                        porta: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
                        reg = <0xff 0xec006000 0x0 0x1000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       clocks = <&clk CLK_GPIO1>;
 
                        portb: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";