0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
0004 *
0005 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
0006 */
0007
0008 /dts-v1/;
0009 #include "ox820.dtsi"
0010
0011 / {
0012 model = "Cloud Engines PogoPlug Series 3";
0013
0014 compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";
0015
0016 chosen {
0017 bootargs = "earlyprintk";
0018 stdout-path = "serial0:115200n8";
0019 };
0020
0021 memory {
0022 /* 128Mbytes DDR */
0023 reg = <0x60000000 0x8000000>;
0024 };
0025
0026 aliases {
0027 serial0 = &uart0;
0028 gpio0 = &gpio0;
0029 gpio1 = &gpio1;
0030 };
0031
0032 leds {
0033 compatible = "gpio-leds";
0034
0035 blue {
0036 label = "pogoplug:blue";
0037 gpios = <&gpio0 2 0>;
0038 default-state = "keep";
0039 };
0040
0041 orange {
0042 label = "pogoplug:orange";
0043 gpios = <&gpio1 16 1>;
0044 default-state = "keep";
0045 };
0046
0047 green {
0048 label = "pogoplug:green";
0049 gpios = <&gpio1 17 1>;
0050 default-state = "keep";
0051 };
0052 };
0053 };
0054
0055 &uart0 {
0056 status = "okay";
0057
0058 pinctrl-names = "default";
0059 pinctrl-0 = <&pinctrl_uart0>;
0060 };
0061
0062 &nandc {
0063 status = "okay";
0064
0065 pinctrl-names = "default";
0066 pinctrl-0 = <&pinctrl_nand>;
0067
0068 nand@0 {
0069 reg = <0>;
0070 #address-cells = <1>;
0071 #size-cells = <1>;
0072 nand-ecc-mode = "soft";
0073 nand-ecc-algo = "hamming";
0074
0075 partition@0 {
0076 label = "boot";
0077 reg = <0x00000000 0x00e00000>;
0078 read-only;
0079 };
0080
0081 partition@e00000 {
0082 label = "ubi";
0083 reg = <0x00e00000 0x07200000>;
0084 };
0085 };
0086 };
0087
0088 ða {
0089 status = "okay";
0090
0091 pinctrl-names = "default";
0092 pinctrl-0 = <&pinctrl_etha_mdio>;
0093 };