1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for Marvell RD-AXPWiFiAP.
5 * Note: this board is shipped with a new generation boot loader that
6 * remaps internal registers at 0xf1000000. Therefore, if earlyprintk
7 * is used, the CONFIG_DEBUG_MVEBU_UART0_ALTERNATE option or the
8 * CONFIG_DEBUG_MVEBU_UART1_ALTERNATE option should be used.
10 * Copyright (C) 2013 Marvell
12 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include "armada-xp-mv78230.dtsi"
21 model = "Marvell RD-AXPWiFiAP";
22 compatible = "marvell,rd-axpwifiap", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
25 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 reg = <0x00000000 0x00000000 0x00000000 0x40000000>; /* 1GB */
34 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
35 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
36 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
37 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>;
56 pinctrl-0 = <&ge0_rgmii_pins>;
57 pinctrl-names = "default";
60 phy-mode = "rgmii-id";
63 pinctrl-0 = <&ge1_rgmii_pins>;
64 pinctrl-names = "default";
67 phy-mode = "rgmii-id";
73 compatible = "gpio-keys";
76 pinctrl-0 = <&keys_pin>;
77 pinctrl-names = "default";
80 label = "Factory Reset Button";
81 linux,code = <KEY_SETUP>;
82 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
88 phy0: ethernet-phy@0 {
92 phy1: ethernet-phy@1 {
100 /* First mini-PCIe port */
106 /* Second mini-PCIe port */
112 /* Renesas uPD720202 USB 3.0 controller */
120 pinctrl-0 = <&phy_int_pin>;
121 pinctrl-names = "default";
124 marvell,pins = "mpp33";
125 marvell,function = "gpio";
128 phy_int_pin: phy-int-pin {
129 marvell,pins = "mpp32";
130 marvell,function = "gpio";
138 #address-cells = <1>;
140 compatible = "n25q128a13", "jedec,spi-nor";
141 reg = <0>; /* Chip select 0 */
142 spi-max-frequency = <108000000>;