arm64: dts: rockchip: Enable gmac at px30*.dts level

Change-Id: I3d6b4cfc8daa51f52f8fadddcad0cde8b098c53e
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
David Wu
2018-01-22 22:50:10 +08:00
committed by Tao Huang
parent 0134b9e70e
commit 25cfc3a020
2 changed files with 32 additions and 0 deletions

View File

@@ -109,6 +109,13 @@
reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */
};
vcc_phy: vcc-phy-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_phy";
regulator-always-on;
regulator-boot-on;
};
wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "AP6210";
@@ -324,6 +331,15 @@
status = "disabled";
};
&gmac {
phy-supply = <&vcc_phy>;
clock_in_out = "output";
snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 50000 50000>;
status = "okay";
};
&mipi_dphy {
status = "okay";
};

View File

@@ -49,6 +49,13 @@
248 249 250 251 252 253 254 255>;
default-brightness-level = <200>;
};
vcc_phy: vcc-phy-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_phy";
regulator-always-on;
regulator-boot-on;
};
};
&display_subsystem {
@@ -178,6 +185,15 @@
status = "disabled";
};
&gmac {
phy-supply = <&vcc_phy>;
clock_in_out = "output";
snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 50000 50000>;
status = "okay";
};
&mipi_dphy {
status = "okay";
};