1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Device Tree Include file for Marvell Armada 398 Development Board 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2015 Marvell 6*f126890aSEmmanuel Vadot * 7*f126890aSEmmanuel Vadot * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8*f126890aSEmmanuel Vadot */ 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/dts-v1/; 11*f126890aSEmmanuel Vadot#include "armada-398.dtsi" 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot/ { 14*f126890aSEmmanuel Vadot model = "Marvell Armada 398 Development Board"; 15*f126890aSEmmanuel Vadot compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot chosen { 18*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot memory { 22*f126890aSEmmanuel Vadot device_type = "memory"; 23*f126890aSEmmanuel Vadot reg = <0x00000000 0x80000000>; /* 2 GB */ 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot soc { 27*f126890aSEmmanuel Vadot ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 28*f126890aSEmmanuel Vadot MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot internal-regs { 31*f126890aSEmmanuel Vadot i2c@11000 { 32*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 33*f126890aSEmmanuel Vadot pinctrl-names = "default"; 34*f126890aSEmmanuel Vadot status = "okay"; 35*f126890aSEmmanuel Vadot clock-frequency = <100000>; 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot serial@12000 { 39*f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 40*f126890aSEmmanuel Vadot pinctrl-names = "default"; 41*f126890aSEmmanuel Vadot status = "okay"; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot serial@12100 { 45*f126890aSEmmanuel Vadot pinctrl-0 = <&uart1_pins>; 46*f126890aSEmmanuel Vadot pinctrl-names = "default"; 47*f126890aSEmmanuel Vadot status = "okay"; 48*f126890aSEmmanuel Vadot }; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot usb@58000 { 51*f126890aSEmmanuel Vadot status = "okay"; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot usb3@f8000 { 55*f126890aSEmmanuel Vadot status = "okay"; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot }; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot pcie { 60*f126890aSEmmanuel Vadot status = "okay"; 61*f126890aSEmmanuel Vadot 62*f126890aSEmmanuel Vadot pcie@1,0 { 63*f126890aSEmmanuel Vadot status = "okay"; 64*f126890aSEmmanuel Vadot }; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot pcie@2,0 { 67*f126890aSEmmanuel Vadot status = "okay"; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot pcie@3,0 { 71*f126890aSEmmanuel Vadot status = "okay"; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot }; 74*f126890aSEmmanuel Vadot }; 75*f126890aSEmmanuel Vadot}; 76*f126890aSEmmanuel Vadot 77*f126890aSEmmanuel Vadot&spi1 { 78*f126890aSEmmanuel Vadot status = "okay"; 79*f126890aSEmmanuel Vadot pinctrl-0 = <&spi1_pins>; 80*f126890aSEmmanuel Vadot pinctrl-names = "default"; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot flash@0 { 83*f126890aSEmmanuel Vadot #address-cells = <1>; 84*f126890aSEmmanuel Vadot #size-cells = <0>; 85*f126890aSEmmanuel Vadot compatible = "n25q128a13", "jedec,spi-nor"; 86*f126890aSEmmanuel Vadot reg = <0>; 87*f126890aSEmmanuel Vadot spi-max-frequency = <108000000>; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot partition@0 { 90*f126890aSEmmanuel Vadot label = "U-Boot"; 91*f126890aSEmmanuel Vadot reg = <0 0x400000>; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot 94*f126890aSEmmanuel Vadot partition@400000 { 95*f126890aSEmmanuel Vadot label = "Filesystem"; 96*f126890aSEmmanuel Vadot reg = <0x400000 0x1000000>; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot}; 100*f126890aSEmmanuel Vadot 101*f126890aSEmmanuel Vadot&nand_controller { 102*f126890aSEmmanuel Vadot status = "okay"; 103*f126890aSEmmanuel Vadot pinctrl-0 = <&nand_pins>; 104*f126890aSEmmanuel Vadot pinctrl-names = "default"; 105*f126890aSEmmanuel Vadot 106*f126890aSEmmanuel Vadot nand@0 { 107*f126890aSEmmanuel Vadot reg = <0>; 108*f126890aSEmmanuel Vadot label = "pxa3xx_nand-0"; 109*f126890aSEmmanuel Vadot nand-rb = <0>; 110*f126890aSEmmanuel Vadot marvell,nand-keep-config; 111*f126890aSEmmanuel Vadot nand-on-flash-bbt; 112*f126890aSEmmanuel Vadot nand-ecc-strength = <8>; 113*f126890aSEmmanuel Vadot nand-ecc-step-size = <512>; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot partitions { 116*f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 117*f126890aSEmmanuel Vadot #address-cells = <1>; 118*f126890aSEmmanuel Vadot #size-cells = <1>; 119*f126890aSEmmanuel Vadot 120*f126890aSEmmanuel Vadot partition@0 { 121*f126890aSEmmanuel Vadot label = "U-Boot"; 122*f126890aSEmmanuel Vadot reg = <0 0x800000>; 123*f126890aSEmmanuel Vadot }; 124*f126890aSEmmanuel Vadot partition@800000 { 125*f126890aSEmmanuel Vadot label = "Linux"; 126*f126890aSEmmanuel Vadot reg = <0x800000 0x800000>; 127*f126890aSEmmanuel Vadot }; 128*f126890aSEmmanuel Vadot partition@1000000 { 129*f126890aSEmmanuel Vadot label = "Filesystem"; 130*f126890aSEmmanuel Vadot reg = <0x1000000 0x3f000000>; 131*f126890aSEmmanuel Vadot }; 132*f126890aSEmmanuel Vadot }; 133*f126890aSEmmanuel Vadot }; 134*f126890aSEmmanuel Vadot}; 135