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