arm64: dts: rockchip: rk3328: Use new define for RK3328 pins
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3328-evb.dts
index 004d739543e8e671eabac674bbd4a9516493a827..35469c569ad232314407e32a6ac4f424806bbaa9 100644 (file)
@@ -97,7 +97,7 @@
        phy-supply = <&vcc_phy>;
        phy-mode = "rgmii";
        clock_in_out = "input";
        phy-supply = <&vcc_phy>;
        phy-mode = "rgmii";
        clock_in_out = "input";
-       snps,reset-gpio = <&gpio1 18 GPIO_ACTIVE_LOW>;
+       snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
        snps,reset-active-low;
        snps,reset-delays-us = <0 10000 50000>;
        assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
        snps,reset-active-low;
        snps,reset-delays-us = <0 10000 50000>;
        assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
 };
 
 &u2phy {
 };
 
 &u2phy {
-       otg-vbus-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
+       otg-vbus-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
        u2phy_host: host-port {
        status = "okay";
 
        u2phy_host: host-port {
 };
 
 &u3phy {
 };
 
 &u3phy {
-       vbus-drv-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+       vbus-drv-gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
        status = "okay";
 };
 
        status = "okay";
 };
 
        pmic {
                pmic_int_l: pmic-int-l {
                rockchip,pins =
        pmic {
                pmic_int_l: pmic-int-l {
                rockchip,pins =
-                       <2 6 RK_FUNC_GPIO &pcfg_pull_up>;       /* gpio2_a6 */
+                       <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;  /* gpio2_a6 */
                };
        };
 };
                };
        };
 };