0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * kirkwood-pogo_e02.dts - Device tree file for Pogoplug E02
0004 *
0005 * Copyright (C) 2015 Christoph Junghans <ottxor@gentoo.org>
0006 *
0007 * based on information of dts files from
0008 * Arch Linux ARM by Oleg Rakhmanov <moonman.ca@gmail.com>
0009 * OpenWrt by Felix Kaechele <heffer@fedoraproject.org>
0010 *
0011 */
0012
0013 /dts-v1/;
0014
0015 #include "kirkwood.dtsi"
0016 #include "kirkwood-6281.dtsi"
0017
0018 / {
0019 model = "Cloud Engines Pogoplug E02";
0020 compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281",
0021 "marvell,kirkwood";
0022
0023 memory {
0024 device_type = "memory";
0025 reg = <0x00000000 0x10000000>;
0026 };
0027
0028 chosen {
0029 bootargs = "console=ttyS0,115200n8";
0030 stdout-path = &uart0;
0031 };
0032
0033 gpio-leds {
0034 compatible = "gpio-leds";
0035
0036 health {
0037 label = "pogo_e02:green:health";
0038 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
0039 default-state = "keep";
0040 };
0041 fault {
0042 label = "pogo_e02:orange:fault";
0043 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
0044 };
0045 };
0046
0047 regulators {
0048 compatible = "simple-bus";
0049 #address-cells = <1>;
0050 #size-cells = <0>;
0051 pinctrl-0 = <&pmx_usb_power_enable>;
0052 pinctrl-names = "default";
0053
0054 usb_power: regulator@1 {
0055 compatible = "regulator-fixed";
0056 reg = <1>;
0057 regulator-name = "USB Power";
0058 regulator-min-microvolt = <5000000>;
0059 regulator-max-microvolt = <5000000>;
0060 enable-active-high;
0061 regulator-always-on;
0062 regulator-boot-on;
0063 gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
0064 };
0065 };
0066 };
0067
0068 &pinctrl {
0069 pinctrl-0 = < &pmx_usb_power_enable &pmx_led_orange
0070 &pmx_led_green >;
0071 pinctrl-names = "default";
0072
0073 pmx_usb_power_enable: pmx-usb-power-enable {
0074 marvell,pins = "mpp29";
0075 marvell,function = "gpio";
0076 };
0077
0078 pmx_led_green: pmx-led-green {
0079 marvell,pins = "mpp48";
0080 marvell,function = "gpio";
0081 };
0082
0083 pmx_led_orange: pmx-led-orange {
0084 marvell,pins = "mpp49";
0085 marvell,function = "gpio";
0086 };
0087 };
0088
0089 &uart0 {
0090 status = "okay";
0091 };
0092
0093 &nand {
0094 chip-delay = <40>;
0095 status = "okay";
0096
0097 partition@0 {
0098 label = "u-boot";
0099 reg = <0x0000000 0x100000>;
0100 read-only;
0101 };
0102
0103 partition@100000 {
0104 label = "uImage";
0105 reg = <0x0100000 0x400000>;
0106 };
0107
0108 partition@500000 {
0109 label = "pogoplug";
0110 reg = <0x0500000 0x2000000>;
0111 };
0112
0113 partition@2500000 {
0114 label = "root";
0115 reg = <0x02500000 0x5b00000>;
0116 };
0117 };
0118
0119 &mdio {
0120 status = "okay";
0121
0122 ethphy0: ethernet-phy@0 {
0123 reg = <0>;
0124 };
0125 };
0126
0127 ð0 {
0128 status = "okay";
0129 ethernet0-port@0 {
0130 phy-handle = <ðphy0>;
0131 };
0132 };