1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * kirkwood-pogo_e02.dts - Device tree file for Pogoplug E02 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2015 Christoph Junghans <ottxor@gentoo.org> 6*724ba675SRob Herring * 7*724ba675SRob Herring * based on information of dts files from 8*724ba675SRob Herring * Arch Linux ARM by Oleg Rakhmanov <moonman.ca@gmail.com> 9*724ba675SRob Herring * OpenWrt by Felix Kaechele <heffer@fedoraproject.org> 10*724ba675SRob Herring * 11*724ba675SRob Herring */ 12*724ba675SRob Herring 13*724ba675SRob Herring/dts-v1/; 14*724ba675SRob Herring 15*724ba675SRob Herring#include "kirkwood.dtsi" 16*724ba675SRob Herring#include "kirkwood-6281.dtsi" 17*724ba675SRob Herring 18*724ba675SRob Herring/ { 19*724ba675SRob Herring model = "Cloud Engines Pogoplug E02"; 20*724ba675SRob Herring compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281", 21*724ba675SRob Herring "marvell,kirkwood"; 22*724ba675SRob Herring 23*724ba675SRob Herring memory { 24*724ba675SRob Herring device_type = "memory"; 25*724ba675SRob Herring reg = <0x00000000 0x10000000>; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring chosen { 29*724ba675SRob Herring bootargs = "console=ttyS0,115200n8"; 30*724ba675SRob Herring stdout-path = &uart0; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring gpio-leds { 34*724ba675SRob Herring compatible = "gpio-leds"; 35*724ba675SRob Herring 36*724ba675SRob Herring health { 37*724ba675SRob Herring label = "pogo_e02:green:health"; 38*724ba675SRob Herring gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; 39*724ba675SRob Herring default-state = "keep"; 40*724ba675SRob Herring }; 41*724ba675SRob Herring fault { 42*724ba675SRob Herring label = "pogo_e02:orange:fault"; 43*724ba675SRob Herring gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; 44*724ba675SRob Herring }; 45*724ba675SRob Herring }; 46*724ba675SRob Herring 47*724ba675SRob Herring regulators { 48*724ba675SRob Herring compatible = "simple-bus"; 49*724ba675SRob Herring #address-cells = <1>; 50*724ba675SRob Herring #size-cells = <0>; 51*724ba675SRob Herring pinctrl-0 = <&pmx_usb_power_enable>; 52*724ba675SRob Herring pinctrl-names = "default"; 53*724ba675SRob Herring 54*724ba675SRob Herring usb_power: regulator@1 { 55*724ba675SRob Herring compatible = "regulator-fixed"; 56*724ba675SRob Herring reg = <1>; 57*724ba675SRob Herring regulator-name = "USB Power"; 58*724ba675SRob Herring regulator-min-microvolt = <5000000>; 59*724ba675SRob Herring regulator-max-microvolt = <5000000>; 60*724ba675SRob Herring enable-active-high; 61*724ba675SRob Herring regulator-always-on; 62*724ba675SRob Herring regulator-boot-on; 63*724ba675SRob Herring gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 64*724ba675SRob Herring }; 65*724ba675SRob Herring }; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&pinctrl { 69*724ba675SRob Herring pinctrl-0 = < &pmx_usb_power_enable &pmx_led_orange 70*724ba675SRob Herring &pmx_led_green >; 71*724ba675SRob Herring pinctrl-names = "default"; 72*724ba675SRob Herring 73*724ba675SRob Herring pmx_usb_power_enable: pmx-usb-power-enable { 74*724ba675SRob Herring marvell,pins = "mpp29"; 75*724ba675SRob Herring marvell,function = "gpio"; 76*724ba675SRob Herring }; 77*724ba675SRob Herring 78*724ba675SRob Herring pmx_led_green: pmx-led-green { 79*724ba675SRob Herring marvell,pins = "mpp48"; 80*724ba675SRob Herring marvell,function = "gpio"; 81*724ba675SRob Herring }; 82*724ba675SRob Herring 83*724ba675SRob Herring pmx_led_orange: pmx-led-orange { 84*724ba675SRob Herring marvell,pins = "mpp49"; 85*724ba675SRob Herring marvell,function = "gpio"; 86*724ba675SRob Herring }; 87*724ba675SRob Herring}; 88*724ba675SRob Herring 89*724ba675SRob Herring&uart0 { 90*724ba675SRob Herring status = "okay"; 91*724ba675SRob Herring}; 92*724ba675SRob Herring 93*724ba675SRob Herring&nand { 94*724ba675SRob Herring chip-delay = <40>; 95*724ba675SRob Herring status = "okay"; 96*724ba675SRob Herring 97*724ba675SRob Herring partition@0 { 98*724ba675SRob Herring label = "u-boot"; 99*724ba675SRob Herring reg = <0x0000000 0x100000>; 100*724ba675SRob Herring read-only; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring partition@100000 { 104*724ba675SRob Herring label = "uImage"; 105*724ba675SRob Herring reg = <0x0100000 0x400000>; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring partition@500000 { 109*724ba675SRob Herring label = "pogoplug"; 110*724ba675SRob Herring reg = <0x0500000 0x2000000>; 111*724ba675SRob Herring }; 112*724ba675SRob Herring 113*724ba675SRob Herring partition@2500000 { 114*724ba675SRob Herring label = "root"; 115*724ba675SRob Herring reg = <0x02500000 0x5b00000>; 116*724ba675SRob Herring }; 117*724ba675SRob Herring}; 118*724ba675SRob Herring 119*724ba675SRob Herring&mdio { 120*724ba675SRob Herring status = "okay"; 121*724ba675SRob Herring 122*724ba675SRob Herring ethphy0: ethernet-phy@0 { 123*724ba675SRob Herring reg = <0>; 124*724ba675SRob Herring }; 125*724ba675SRob Herring}; 126*724ba675SRob Herring 127*724ba675SRob Herringð0 { 128*724ba675SRob Herring status = "okay"; 129*724ba675SRob Herring ethernet0-port@0 { 130*724ba675SRob Herring phy-handle = <ðphy0>; 131*724ba675SRob Herring }; 132*724ba675SRob Herring}; 133