summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-07-15 10:34:15 +0200
committerHeiko Stuebner <heiko@sntech.de>2020-07-18 17:06:13 +0200
commita66bd94d0eac017e4846658750acaca2937555bb (patch)
tree23d5992aaa9cd7a047d6d817874029874436b787 /arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
parentarm64: dts: rk3399pro: vmarc-som: Move supply regulators into Carrier (diff)
downloadlinux-a66bd94d0eac017e4846658750acaca2937555bb.tar.xz
linux-a66bd94d0eac017e4846658750acaca2937555bb.zip
arm64: dts: rk3399pro: vmarc-som: Move common properties into Carrier
Some of gmac, sdmmc node properties are common across rk3288 and rk3399pro SOM's so move them into Carrier dtsi. Chosen node is specific to rk3399pro configure SBC, so move it into RockPI N10 dts. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Link: https://lore.kernel.org/r/20200715083418.112003-5-jagan@amarulasolutions.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi')
-rw-r--r--arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi18
1 files changed, 14 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
index 00b200a62263..450e5bb5af0b 100644
--- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
+++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
@@ -8,8 +8,11 @@
#include <dt-bindings/pwm/pwm.h>
/ {
- chosen {
- stdout-path = "serial2:1500000n8";
+ clkin_gmac: external-gmac-clock {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+ clock-output-names = "clkin_gmac";
+ #clock-cells = <0>;
};
vcc12v_dcin: vcc12v-dcin-regulator {
@@ -33,6 +36,15 @@
};
&gmac {
+ assigned-clock-parents = <&clkin_gmac>;
+ clock_in_out = "input";
+ phy-mode = "rgmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ snps,reset-active-low;
+ snps,reset-delays-us = <0 10000 50000>;
+ tx_delay = <0x28>;
+ rx_delay = <0x11>;
status = "okay";
};
@@ -48,10 +60,8 @@
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
- cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
disable-wp;
vqmmc-supply = <&vccio_sd>;
- max-frequency = <150000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
status = "okay";