Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Device Tree Include file for Marvell Armada 398 Development Board
0004  *
0005  * Copyright (C) 2015 Marvell
0006  *
0007  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
0008  */
0009 
0010 /dts-v1/;
0011 #include "armada-398.dtsi"
0012 
0013 / {
0014         model = "Marvell Armada 398 Development Board";
0015         compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390";
0016 
0017         chosen {
0018                 stdout-path = "serial0:115200n8";
0019         };
0020 
0021         memory {
0022                 device_type = "memory";
0023                 reg = <0x00000000 0x80000000>; /* 2 GB */
0024         };
0025 
0026         soc {
0027                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
0028                           MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
0029 
0030                 internal-regs {
0031                         i2c@11000 {
0032                                 pinctrl-0 = <&i2c0_pins>;
0033                                 pinctrl-names = "default";
0034                                 status = "okay";
0035                                 clock-frequency = <100000>;
0036                         };
0037 
0038                         serial@12000 {
0039                                 pinctrl-0 = <&uart0_pins>;
0040                                 pinctrl-names = "default";
0041                                 status = "okay";
0042                         };
0043 
0044                         serial@12100 {
0045                                 pinctrl-0 = <&uart1_pins>;
0046                                 pinctrl-names = "default";
0047                                 status = "okay";
0048                         };
0049 
0050                         usb@58000 {
0051                                 status = "okay";
0052                         };
0053 
0054                         usb3@f8000 {
0055                                 status = "okay";
0056                         };
0057                 };
0058 
0059                 pcie {
0060                         status = "okay";
0061 
0062                         pcie@1,0 {
0063                                 status = "okay";
0064                         };
0065 
0066                         pcie@2,0 {
0067                                 status = "okay";
0068                         };
0069 
0070                         pcie@3,0 {
0071                                 status = "okay";
0072                         };
0073                 };
0074         };
0075 };
0076 
0077 &spi1 {
0078         status = "okay";
0079         pinctrl-0 = <&spi1_pins>;
0080         pinctrl-names = "default";
0081 
0082         flash@0 {
0083                 #address-cells = <1>;
0084                 #size-cells = <0>;
0085                 compatible = "n25q128a13", "jedec,spi-nor";
0086                 reg = <0>;
0087                 spi-max-frequency = <108000000>;
0088 
0089                 partition@0 {
0090                         label = "U-Boot";
0091                         reg = <0 0x400000>;
0092                 };
0093 
0094                 partition@400000 {
0095                         label = "Filesystem";
0096                         reg = <0x400000 0x1000000>;
0097                 };
0098         };
0099 };
0100 
0101 &nand_controller {
0102         status = "okay";
0103         pinctrl-0 = <&nand_pins>;
0104         pinctrl-names = "default";
0105 
0106         nand@0 {
0107                 reg = <0>;
0108                 label = "pxa3xx_nand-0";
0109                 nand-rb = <0>;
0110                 marvell,nand-keep-config;
0111                 nand-on-flash-bbt;
0112                 nand-ecc-strength = <8>;
0113                 nand-ecc-step-size = <512>;
0114 
0115                 partitions {
0116                         compatible = "fixed-partitions";
0117                         #address-cells = <1>;
0118                         #size-cells = <1>;
0119 
0120                         partition@0 {
0121                                 label = "U-Boot";
0122                                 reg = <0 0x800000>;
0123                         };
0124                         partition@800000 {
0125                                 label = "Linux";
0126                                 reg = <0x800000 0x800000>;
0127                         };
0128                         partition@1000000 {
0129                                 label = "Filesystem";
0130                                 reg = <0x1000000 0x3f000000>;
0131                         };
0132                 };
0133         };
0134 };