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