ARM64: dts: rockchip: fix gpio clk error for rk3399
authorDavid Wu <david.wu@rock-chips.com>
Wed, 16 Mar 2016 18:33:06 +0000 (02:33 +0800)
committerDavid Wu <david.wu@rock-chips.com>
Wed, 16 Mar 2016 18:33:06 +0000 (02:33 +0800)
Change-Id: I8efd8007b17cc054a8e0bd20d1ccc89f7cf26ee8
Signed-off-by: David Wu <david.wu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 72b0fd3ecf2455f181a98232272b3866a6b56813..52478f6716046d51cf44495277864052519bc1db 100644 (file)
                gpio0: gpio0@ff720000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x0 0xff720000 0x0 0x100>;
-                       clocks = <&xin24m>;
+                       clocks = <&cru PCLK_GPIO0_PMU>;
                        interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
 
                        gpio-controller;
                gpio1: gpio1@ff730000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x0 0xff730000 0x0 0x100>;
-                       clocks = <&xin24m>;
+                       clocks = <&cru PCLK_GPIO1_PMU>;
                        interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
 
                        gpio-controller;
                gpio2: gpio2@ff780000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x0 0xff780000 0x0 0x100>;
-                       clocks = <&xin24m>;
+                       clocks = <&cru PCLK_GPIO2>;
                        interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
 
                        gpio-controller;
                gpio3: gpio3@ff788000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x0 0xff788000 0x0 0x100>;
-                       clocks = <&xin24m>;
+                       clocks = <&cru PCLK_GPIO3>;
                        interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
 
                        gpio-controller;
                gpio4: gpio4@ff790000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x0 0xff790000 0x0 0x100>;
-                       clocks = <&xin24m>;
+                       clocks = <&cru PCLK_GPIO4>;
                        interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
 
                        gpio-controller;