From: david.wu Date: Fri, 20 Jan 2017 08:12:04 +0000 (+0800) Subject: arm64: dts: rockchip: add gmac support for rk3328 X-Git-Tag: firefly_0821_release~610 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=491ae057f1a2c480933c265c96ce4890a602c037;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: add gmac support for rk3328 Change-Id: If46e67a05e2a54462b1a83433018385c5f52942c Signed-off-by: david.wu --- diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index a8b7072d350e..60ff14a93507 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -580,6 +580,25 @@ status = "disabled"; }; + gmac2io: eth@ff540000 { + compatible = "rockchip,rk3328-gmac"; + reg = <0x0 0xff540000 0x0 0x10000>; + rockchip,grf = <&grf>; + interrupts = ; + interrupt-names = "macirq"; + clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_RX>, + <&cru SCLK_MAC2IO_TX>, <&cru SCLK_MAC2IO_REF>, + <&cru SCLK_MAC2IO_REFOUT>, <&cru ACLK_MAC2IO>, + <&cru PCLK_MAC2IO>; + clock-names = "stmmaceth", "mac_clk_rx", + "mac_clk_tx", "clk_mac_ref", + "clk_mac_refout", "aclk_mac", + "pclk_mac"; + resets = <&cru SRST_GMAC2IO_A>; + reset-names = "stmmaceth"; + status = "disabled"; + }; + usb20_otg: usb@ff580000 { compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb", "snps,dwc2";