diff options
Diffstat (limited to 'arch/arm/dts/rk1808-evb.dts')
-rw-r--r-- | arch/arm/dts/rk1808-evb.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/dts/rk1808-evb.dts b/arch/arm/dts/rk1808-evb.dts index 728ca1c73b..d857a0b5f2 100644 --- a/arch/arm/dts/rk1808-evb.dts +++ b/arch/arm/dts/rk1808-evb.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "rk1808.dtsi" #include "rk1808-u-boot.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <linux/media-bus-format.h> @@ -30,6 +31,13 @@ press-threshold-microvolt = <10000>; }; }; + + vcc_phy: vcc-phy-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_phy"; + regulator-always-on; + regulator-boot-on; + }; }; &emmc { @@ -44,6 +52,21 @@ status = "okay"; }; +&gmac { + phy-supply = <&vcc_phy>; + phy-mode = "rgmii"; + clock_in_out = "input"; + snps,reset-gpio = <&gpio0 10 GPIO_ACTIVE_LOW>; + snps,reset-active-low; + /* Reset time is 20ms, 100ms for rtl8211f */ + snps,reset-delays-us = <0 20000 100000>; + assigned-clocks = <&cru SCLK_GMAC>; + assigned-clock-parents = <&gmac_clkin>; + tx_delay = <0x50>; + rx_delay = <0x3a>; + status = "disabled"; +}; + &uart2 { clock-frequency = <24000000>; status = "okay"; |