mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ARM64: dts: rockchip: Add gmac2phy node support for rk3328
The gmac2phy controller of rk3328 is connected to integrated phy directly inside, add the node for the integrated phy support. Change-Id: Id96d65d838d17ae4912cf8fd80d0a1f2a2aa3bf7 Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
@@ -64,6 +64,8 @@
|
||||
i2c1 = &i2c1;
|
||||
i2c2 = &i2c2;
|
||||
i2c3 = &i2c3;
|
||||
ethernet0 = &gmac2io;
|
||||
ethernet1 = &gmac2phy;
|
||||
};
|
||||
|
||||
cpus {
|
||||
@@ -1059,7 +1061,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gmac2io: eth@ff540000 {
|
||||
gmac2io: ethernet@ff540000 {
|
||||
compatible = "rockchip,rk3328-gmac";
|
||||
reg = <0x0 0xff540000 0x0 0x10000>;
|
||||
rockchip,grf = <&grf>;
|
||||
@@ -1078,6 +1080,29 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gmac2phy: ethernet@ff550000 {
|
||||
compatible = "rockchip,rk3328-gmac";
|
||||
reg = <0x0 0xff550000 0x0 0x10000>;
|
||||
rockchip,grf = <&grf>;
|
||||
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "macirq";
|
||||
clocks = <&cru SCLK_MAC2PHY_SRC>, <&cru SCLK_MAC2PHY_RXTX>,
|
||||
<&cru SCLK_MAC2PHY_RXTX>, <&cru SCLK_MAC2PHY_REF>,
|
||||
<&cru ACLK_MAC2PHY>, <&cru PCLK_MAC2PHY>,
|
||||
<&cru SCLK_MAC2PHY_OUT>;
|
||||
clock-names = "stmmaceth", "mac_clk_rx",
|
||||
"mac_clk_tx", "clk_mac_ref",
|
||||
"aclk_mac", "pclk_mac",
|
||||
"clk_macphy";
|
||||
resets = <&cru SRST_GMAC2PHY_A>, <&cru SRST_MACPHY>;
|
||||
reset-names = "stmmaceth", "mac-phy";
|
||||
phy-mode = "rmii";
|
||||
phy-is-integrated;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fephyled_rxm1 &fephyled_linkm1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usb20_otg: usb@ff580000 {
|
||||
compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
|
||||
"snps,dwc2";
|
||||
|
||||
Reference in New Issue
Block a user