1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre, SAS.
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
9 ethmac: ethernet@ff3f0000 {
10 compatible = "amlogic,meson-axg-dwmac", "snps,dwmac-3.710",
12 reg = <0x0 0xff3f0000 0x0 0x10000
13 0x0 0xff634540 0x0 0x8>;
14 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
15 interrupt-names = "macirq";
16 clocks = <&clkc CLKID_ETH>,
17 <&clkc CLKID_FCLK_DIV2>,
19 clock-names = "stmmaceth", "clkin0", "clkin1";
25 compatible = "snps,dwmac-mdio";
29 sd_emmc_a: sd@ffe03000 {
30 compatible = "amlogic,meson-axg-mmc";
31 reg = <0x0 0xffe03000 0x0 0x800>;
32 interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
34 clocks = <&clkc CLKID_SD_EMMC_A>,
35 <&clkc CLKID_SD_EMMC_A_CLK0>,
36 <&clkc CLKID_FCLK_DIV2>;
37 clock-names = "core", "clkin0", "clkin1";
38 resets = <&reset RESET_SD_EMMC_A>;
41 sd_emmc_b: sd@ffe05000 {
42 compatible = "amlogic,meson-axg-mmc";
43 reg = <0x0 0xffe05000 0x0 0x800>;
44 interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
46 clocks = <&clkc CLKID_SD_EMMC_B>,
47 <&clkc CLKID_SD_EMMC_B_CLK0>,
48 <&clkc CLKID_FCLK_DIV2>;
49 clock-names = "core", "clkin0", "clkin1";
50 resets = <&reset RESET_SD_EMMC_B>;
53 sd_emmc_c: mmc@ffe07000 {
54 compatible = "amlogic,meson-axg-mmc";
55 reg = <0x0 0xffe07000 0x0 0x800>;
56 interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
58 clocks = <&clkc CLKID_SD_EMMC_C>,
59 <&clkc CLKID_SD_EMMC_C_CLK0>,
60 <&clkc CLKID_FCLK_DIV2>;
61 clock-names = "core", "clkin0", "clkin1";
62 resets = <&reset RESET_SD_EMMC_C>;
70 groups = "emmc_nand_d0",
85 emmc_ds_pins: emmc-ds {
87 groups = "emmc_nand_ds";
93 emmc_clk_gate_pins: emmc_clk_gate {
96 function = "gpio_periphs";
101 eth_leds_pins: eth-leds {
103 groups = "eth_link_led",
110 eth_rmii_pins: eth-rmii {
126 eth_rgmii_pins: eth-rgmii {
128 groups = "eth_rxd2_rgmii",
138 sdcard_c_pins: sdcard_c {
140 groups = "sdcard_d0_c",
151 sdcard_clk_gate_c_pins: sdcard_clk_gate_c {
154 function = "gpio_periphs";
159 sdcard_z_pins: sdcard_z {
161 groups = "sdcard_d0_z",
172 sdcard_clk_gate_z_pins: sdcard_clk_gate_z {
175 function = "gpio_periphs";
182 eth_phy: mdio-multiplexer@4c000 {
183 compatible = "amlogic,g12a-mdio-mux";
184 reg = <0x0 0x4c000 0x0 0xa4>;
185 clocks = <&clkc CLKID_ETH_PHY>,
187 <&clkc CLKID_MPLL_5OM>;
188 clock-names = "pclk", "clkin0", "clkin1";
189 mdio-parent-bus = <&mdio0>;
190 #address-cells = <1>;
195 #address-cells = <1>;
201 #address-cells = <1>;
204 internal_ephy: ethernet_phy@8 {
205 compatible = "ethernet-phy-id0180.3300",
206 "ethernet-phy-ieee802.3-c22";
210 /* FIXME: Add irq support */