ox820-cloudengines-pogoplug-series-3.dts (1480B)
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3 4 * 5 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com> 6 */ 7 8/dts-v1/; 9#include "ox820.dtsi" 10 11/ { 12 model = "Cloud Engines PogoPlug Series 3"; 13 14 compatible = "cloudengines,pogoplugv3", "oxsemi,ox820"; 15 16 chosen { 17 bootargs = "earlyprintk"; 18 stdout-path = "serial0:115200n8"; 19 }; 20 21 memory { 22 /* 128Mbytes DDR */ 23 reg = <0x60000000 0x8000000>; 24 }; 25 26 aliases { 27 serial0 = &uart0; 28 gpio0 = &gpio0; 29 gpio1 = &gpio1; 30 }; 31 32 leds { 33 compatible = "gpio-leds"; 34 35 blue { 36 label = "pogoplug:blue"; 37 gpios = <&gpio0 2 0>; 38 default-state = "keep"; 39 }; 40 41 orange { 42 label = "pogoplug:orange"; 43 gpios = <&gpio1 16 1>; 44 default-state = "keep"; 45 }; 46 47 green { 48 label = "pogoplug:green"; 49 gpios = <&gpio1 17 1>; 50 default-state = "keep"; 51 }; 52 }; 53}; 54 55&uart0 { 56 status = "okay"; 57 58 pinctrl-names = "default"; 59 pinctrl-0 = <&pinctrl_uart0>; 60}; 61 62&nandc { 63 status = "okay"; 64 65 pinctrl-names = "default"; 66 pinctrl-0 = <&pinctrl_nand>; 67 68 nand@0 { 69 reg = <0>; 70 #address-cells = <1>; 71 #size-cells = <1>; 72 nand-ecc-mode = "soft"; 73 nand-ecc-algo = "hamming"; 74 75 partition@0 { 76 label = "boot"; 77 reg = <0x00000000 0x00e00000>; 78 read-only; 79 }; 80 81 partition@e00000 { 82 label = "ubi"; 83 reg = <0x00e00000 0x07200000>; 84 }; 85 }; 86}; 87 88ða { 89 status = "okay"; 90 91 pinctrl-names = "default"; 92 pinctrl-0 = <&pinctrl_etha_mdio>; 93};