1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* 3 * Device Tree file for Marvell Armada 385 Acc 4 * (DB-88F6820-AP) 5 * 6 * Copyright (C) 2014 Marvell 7 * 8 * Nadav Haklai <nadavh@marvell.com> 9 */ 10 11 /dts-v1/; 12 #include "armada-385.dtsi" 13 14 #include <dt-bindings/gpio/gpio.h> 15 16 / { 17 model = "Marvell Armada 385 Access Poi 18 compatible = "marvell,a385-db-ap", "ma 19 20 chosen { 21 stdout-path = "serial1:115200n 22 }; 23 24 memory { 25 device_type = "memory"; 26 reg = <0x00000000 0x80000000>; 27 }; 28 29 soc { 30 ranges = <MBUS_ID(0xf0, 0x01) 31 MBUS_ID(0x01, 0x1d) 32 MBUS_ID(0x09, 0x19) 33 MBUS_ID(0x09, 0x15) 34 MBUS_ID(0x0c, 0x04) 35 36 internal-regs { 37 i2c0: i2c@11000 { 38 pinctrl-names 39 pinctrl-0 = <& 40 status = "okay 41 42 /* 43 * This bus is 44 * sockets, on 45 * board ID us 46 * Erasing thi 47 * brick the b 48 * Use this bu 49 */ 50 }; 51 52 mdio@72004 { 53 pinctrl-names 54 pinctrl-0 = <& 55 56 phy0: ethernet 57 reg = 58 }; 59 60 phy1: ethernet 61 reg = 62 }; 63 64 phy2: ethernet 65 reg = 66 }; 67 }; 68 69 /* UART0 is exposed th 70 uart0: serial@12000 { 71 pinctrl-names 72 pinctrl-0 = <& 73 status = "okay 74 }; 75 76 /* 77 * UART1 is exposed th 78 * wired to the mini-U 79 */ 80 uart1: serial@12100 { 81 pinctrl-names 82 pinctrl-0 = <& 83 status = "okay 84 }; 85 86 pinctrl@18000 { 87 xhci0_vbus_pin 88 marvel 89 marvel 90 }; 91 }; 92 93 /* CON3 */ 94 ethernet@30000 { 95 status = "okay 96 phy = <&phy2>; 97 phy-mode = "sg 98 buffer-manager 99 bm,pool-long = 100 bm,pool-short 101 }; 102 103 /* CON2 */ 104 ethernet@34000 { 105 status = "okay 106 phy = <&phy1>; 107 phy-mode = "sg 108 buffer-manager 109 bm,pool-long = 110 bm,pool-short 111 }; 112 113 usb@58000 { 114 status = "okay 115 }; 116 117 /* CON4 */ 118 ethernet@70000 { 119 pinctrl-names 120 121 /* 122 * The Referen 123 * provide a c 124 */ 125 pinctrl-0 = <& 126 status = "okay 127 phy = <&phy0>; 128 phy-mode = "rg 129 buffer-manager 130 bm,pool-long = 131 bm,pool-short 132 }; 133 134 bm@c8000 { 135 status = "okay 136 }; 137 138 usb3@f0000 { 139 status = "okay 140 usb-phy = <&us 141 }; 142 }; 143 144 bm-bppi { 145 status = "okay"; 146 }; 147 148 pcie { 149 status = "okay"; 150 151 /* 152 * The three PCIe unit 153 * standard mini-PCIe 154 */ 155 pcie@1,0 { 156 /* Port 0, Lan 157 status = "okay 158 }; 159 160 pcie@2,0 { 161 /* Port 1, Lan 162 status = "okay 163 }; 164 165 pcie@3,0 { 166 /* Port 2, Lan 167 status = "okay 168 }; 169 }; 170 }; 171 172 usb3_phy: usb3_phy { 173 compatible = "usb-nop-xceiv"; 174 vcc-supply = <®_xhci0_vbus> 175 #phy-cells = <0>; 176 }; 177 178 reg_xhci0_vbus: xhci0-vbus { 179 compatible = "regulator-fixed" 180 pinctrl-names = "default"; 181 pinctrl-0 = <&xhci0_vbus_pins> 182 regulator-name = "xhci0-vbus"; 183 regulator-min-microvolt = <500 184 regulator-max-microvolt = <500 185 enable-active-high; 186 gpio = <&gpio1 12 GPIO_ACTIVE_ 187 }; 188 }; 189 190 &spi1 { 191 pinctrl-names = "default"; 192 pinctrl-0 = <&spi1_pins>; 193 status = "okay"; 194 195 flash@0 { 196 #address-cells = <1>; 197 #size-cells = <1>; 198 compatible = "st,m25p128", "je 199 reg = <0>; /* Chip select 0 */ 200 spi-max-frequency = <54000000> 201 }; 202 }; 203 204 &nand_controller { 205 status = "okay"; 206 207 nand@0 { 208 reg = <0>; 209 label = "pxa3xx_nand-0"; 210 nand-rb = <0>; 211 nand-on-flash-bbt; 212 nand-ecc-strength = <4>; 213 nand-ecc-step-size = <512>; 214 215 partitions { 216 compatible = "fixed-pa 217 #address-cells = <1>; 218 #size-cells = <1>; 219 220 partition@0 { 221 label = "U-Boo 222 reg = <0x00000 223 read-only; 224 }; 225 226 partition@800000 { 227 label = "uImag 228 reg = <0x00800 229 read-only; 230 }; 231 232 partition@c00000 { 233 label = "Root" 234 reg = <0x00c00 235 }; 236 }; 237 }; 238 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.