aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288.dtsi
diff options
context:
space:
mode:
authorRoger Chen <roger.chen@rock-chips.com>2014-12-29 04:44:16 -0500
committerDavid S. Miller <davem@davemloft.net>2014-12-31 19:14:18 -0500
commit3d3fb74afc9b511013966ec0b1f8fd60d55b886b (patch)
tree2a17aee33dcdb20569d558cfa1ccfefaa316558a /arch/arm/boot/dts/rk3288.dtsi
parent7f186025c7d1032c3e8e14af9e8e635ee1c22d46 (diff)
ARM: dts: rockchip: add gmac info for rk3288
add gmac info in rk3288.dtsi for GMAC driver changes since v2: 1. add drive-strength in the pinctrl settings Signed-off-by: Roger Chen <roger.chen@rock-chips.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/rk3288.dtsi')
-rw-r--r--arch/arm/boot/dts/rk3288.dtsi54
1 files changed, 54 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index fd19f00784bd..910dcad2088a 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -380,6 +380,22 @@
380 status = "disabled"; 380 status = "disabled";
381 }; 381 };
382 382
383 gmac: ethernet@ff290000 {
384 compatible = "rockchip,rk3288-gmac";
385 reg = <0xff290000 0x10000>;
386 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
387 interrupt-names = "macirq";
388 rockchip,grf = <&grf>;
389 clocks = <&cru SCLK_MAC>,
390 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
391 <&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
392 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
393 clock-names = "stmmaceth",
394 "mac_clk_rx", "mac_clk_tx",
395 "clk_mac_ref", "clk_mac_refout",
396 "aclk_mac", "pclk_mac";
397 };
398
383 usb_host0_ehci: usb@ff500000 { 399 usb_host0_ehci: usb@ff500000 {
384 compatible = "generic-ehci"; 400 compatible = "generic-ehci";
385 reg = <0xff500000 0x100>; 401 reg = <0xff500000 0x100>;
@@ -725,6 +741,11 @@
725 bias-disable; 741 bias-disable;
726 }; 742 };
727 743
744 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
745 bias-disable;
746 drive-strength = <12>;
747 };
748
728 i2c0 { 749 i2c0 {
729 i2c0_xfer: i2c0-xfer { 750 i2c0_xfer: i2c0-xfer {
730 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>, 751 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>,
@@ -1068,5 +1089,38 @@
1068 rockchip,pins = <7 23 3 &pcfg_pull_none>; 1089 rockchip,pins = <7 23 3 &pcfg_pull_none>;
1069 }; 1090 };
1070 }; 1091 };
1092
1093 gmac {
1094 rgmii_pins: rgmii-pins {
1095 rockchip,pins = <3 30 3 &pcfg_pull_none>,
1096 <3 31 3 &pcfg_pull_none>,
1097 <3 26 3 &pcfg_pull_none>,
1098 <3 27 3 &pcfg_pull_none>,
1099 <3 28 3 &pcfg_pull_none_12ma>,
1100 <3 29 3 &pcfg_pull_none_12ma>,
1101 <3 24 3 &pcfg_pull_none_12ma>,
1102 <3 25 3 &pcfg_pull_none_12ma>,
1103 <4 0 3 &pcfg_pull_none>,
1104 <4 5 3 &pcfg_pull_none>,
1105 <4 6 3 &pcfg_pull_none>,
1106 <4 9 3 &pcfg_pull_none_12ma>,
1107 <4 4 3 &pcfg_pull_none_12ma>,
1108 <4 1 3 &pcfg_pull_none>,
1109 <4 3 3 &pcfg_pull_none>;
1110 };
1111
1112 rmii_pins: rmii-pins {
1113 rockchip,pins = <3 30 3 &pcfg_pull_none>,
1114 <3 31 3 &pcfg_pull_none>,
1115 <3 28 3 &pcfg_pull_none>,
1116 <3 29 3 &pcfg_pull_none>,
1117 <4 0 3 &pcfg_pull_none>,
1118 <4 5 3 &pcfg_pull_none>,
1119 <4 4 3 &pcfg_pull_none>,
1120 <4 1 3 &pcfg_pull_none>,
1121 <4 2 3 &pcfg_pull_none>,
1122 <4 3 3 &pcfg_pull_none>;
1123 };
1124 };
1071 }; 1125 };
1072}; 1126};