|
@@ -15,6 +15,13 @@
|
|
stdout-path = &uart2;
|
|
stdout-path = &uart2;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ gmac_clkin: external-gmac-clock {
|
|
|
|
+ compatible = "fixed-clock";
|
|
|
|
+ clock-frequency = <125000000>;
|
|
|
|
+ clock-output-names = "gmac_clkin";
|
|
|
|
+ #clock-cells = <0>;
|
|
|
|
+ };
|
|
|
|
+
|
|
vcc3v3_sdmmc: sdmmc-pwren {
|
|
vcc3v3_sdmmc: sdmmc-pwren {
|
|
compatible = "regulator-fixed";
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc3v3";
|
|
regulator-name = "vcc3v3";
|
|
@@ -40,6 +47,13 @@
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ vcc_phy: vcc-phy-regulator {
|
|
|
|
+ compatible = "regulator-fixed";
|
|
|
|
+ regulator-name = "vcc_phy";
|
|
|
|
+ regulator-always-on;
|
|
|
|
+ regulator-boot-on;
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
&saradc {
|
|
&saradc {
|
|
@@ -74,6 +88,22 @@
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+&gmac2io {
|
|
|
|
+ phy-supply = <&vcc_phy>;
|
|
|
|
+ phy-mode = "rgmii";
|
|
|
|
+ clock_in_out = "input";
|
|
|
|
+ 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>;
|
|
|
|
+ assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&rgmiim1_pins>;
|
|
|
|
+ tx_delay = <0x26>;
|
|
|
|
+ rx_delay = <0x11>;
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
&usb_host0_ehci {
|
|
&usb_host0_ehci {
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|