ARM64: dts: rockchip: move i2c0 node more ahead
authorXu Jianqun <jay.xu@rock-chips.com>
Tue, 5 Jan 2016 11:30:31 +0000 (19:30 +0800)
committerXu Jianqun <jay.xu@rock-chips.com>
Wed, 6 Jan 2016 00:59:20 +0000 (08:59 +0800)
Move i2c0 node more forhead than other i2c nodes,
to make sure that the pmic on i2c0 bus will be
probed firstly, which supplys for some devices.

Change-Id: Ibbc43307cdc2701eb73e157c9e73e9b7f1af8b3b
Signed-off-by: Xu Jianqun <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368.dtsi

index 0134ef33504f31ac0305a5067975f0e0f0fd91c9..44469bc064d3a1555cf8fd40e0708f10b667264c 100644 (file)
                status = "disabled";
        };
 
+       i2c0: i2c@ff650000 {
+               compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
+               reg = <0x0 0xff650000 0x0 0x1000>;
+               clocks = <&cru PCLK_I2C0>;
+               clock-names = "i2c";
+               interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&i2c0_xfer>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
        i2c2: i2c@ff140000 {
                compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
                reg = <0x0 0xff140000 0x0 0x1000>;
                reg = <0x0 0xff610000 0x0 0x400>;
        };
 
-       i2c0: i2c@ff650000 {
-               compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
-               reg = <0x0 0xff650000 0x0 0x1000>;
-               clocks = <&cru PCLK_I2C0>;
-               clock-names = "i2c";
-               interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&i2c0_xfer>;
-               #address-cells = <1>;
-               #size-cells = <0>;
-               status = "disabled";
-       };
-
        i2c1: i2c@ff660000 {
                compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
                reg = <0x0 0xff660000 0x0 0x1000>;