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