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