Merge tag 'nuvoton-7.2-devicetree-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux into soc/dt

nuvoton: First batch of arm64 devicetree changes for v7.2

Just the one patch adding ethernet nodes for the MA35D1 development board.

* tag 'nuvoton-7.2-devicetree-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux:
  arm64: dts: nuvoton: Add Ethernet nodes

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
Krzysztof Kozlowski
2026-06-09 14:07:26 +02:00
3 changed files with 101 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ aliases {
serial12 = &uart12;
serial13 = &uart13;
serial14 = &uart14;
ethernet0 = &gmac0;
ethernet1 = &gmac1;
};
chosen {
@@ -126,3 +128,26 @@ &uart14 {
pinctrl-0 = <&pinctrl_uart14>;
status = "okay";
};
&gmac0 {
status = "okay";
phy-handle = <&eth_phy0>;
};
&mdio0 {
eth_phy0: ethernet-phy@0 {
reg = <0>;
};
};
&gmac1 {
status = "okay";
phy-mode = "rmii";
phy-handle = <&eth_phy1>;
};
&mdio1 {
eth_phy1: ethernet-phy@1 {
reg = <1>;
};
};

View File

@@ -18,6 +18,8 @@ aliases {
serial12 = &uart12;
serial14 = &uart14;
serial16 = &uart16;
ethernet0 = &gmac0;
ethernet1 = &gmac1;
};
chosen {
@@ -129,3 +131,25 @@ &uart16 {
pinctrl-0 = <&pinctrl_uart16>;
status = "okay";
};
&gmac0 {
status = "okay";
phy-handle = <&eth_phy0>;
};
&mdio0 {
eth_phy0: ethernet-phy@0 {
reg = <0>;
};
};
&gmac1 {
status = "okay";
phy-handle = <&eth_phy1>;
};
&mdio1 {
eth_phy1: ethernet-phy@1 {
reg = <1>;
};
};

View File

@@ -379,5 +379,57 @@ uart16: serial@40880000 {
clocks = <&clk UART16_GATE>;
status = "disabled";
};
gmac0: ethernet@40120000 {
compatible = "nuvoton,ma35d1-dwmac", "snps,dwmac-3.70a";
reg = <0x0 0x40120000 0x0 0x10000>;
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
clocks = <&clk EMAC0_GATE>, <&clk EPLL_DIV8>;
clock-names = "stmmaceth", "ptp_ref";
nuvoton,sys = <&sys 0>;
resets = <&sys MA35D1_RESET_GMAC0>;
reset-names = "stmmaceth";
snps,multicast-filter-bins = <0>;
snps,perfect-filter-entries = <8>;
rx-fifo-depth = <4096>;
tx-fifo-depth = <2048>;
phy-mode = "rgmii-id";
status = "disabled";
mdio0: mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
};
};
gmac1: ethernet@40130000 {
compatible = "nuvoton,ma35d1-dwmac", "snps,dwmac-3.70a";
reg = <0x0 0x40130000 0x0 0x10000>;
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
clocks = <&clk EMAC1_GATE>, <&clk EPLL_DIV8>;
clock-names = "stmmaceth", "ptp_ref";
nuvoton,sys = <&sys 1>;
resets = <&sys MA35D1_RESET_GMAC1>;
reset-names = "stmmaceth";
snps,multicast-filter-bins = <0>;
snps,perfect-filter-entries = <8>;
rx-fifo-depth = <4096>;
tx-fifo-depth = <2048>;
phy-mode = "rgmii-id";
status = "disabled";
mdio1: mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
};
};
};
};