1 // SPDX-License-Identifier: GPL-2.0
3 * kirkwood-pogoplug-series-4.dts - Device tree file for PogoPlug Series 4
4 * inspired by the board files made by Kevin Mihelich for ArchLinux,
7 * Copyright (C) 2015 Linus Walleij <linus.walleij@linaro.org>
12 #include "kirkwood.dtsi"
13 #include "kirkwood-6192.dtsi"
14 #include <dt-bindings/input/linux-event-codes.h>
17 model = "Cloud Engines PogoPlug Series 4";
18 compatible = "cloudengines,pogoplugv4", "marvell,kirkwood-88f6192",
22 device_type = "memory";
23 reg = <0x00000000 0x08000000>;
27 stdout-path = "uart0:115200n8";
31 compatible = "gpio-keys";
34 pinctrl-0 = <&pmx_button_eject>;
35 pinctrl-names = "default";
38 debounce-interval = <50>;
40 linux,code = <KEY_EJECTCD>;
41 label = "Eject Button";
42 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-leds";
48 pinctrl-0 = <&pmx_led_green &pmx_led_red>;
49 pinctrl-names = "default";
52 label = "pogoplugv4:green:health";
53 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
57 label = "pogoplugv4:red:fault";
58 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
64 pmx_sata0: pmx-sata0 {
65 marvell,pins = "mpp21";
66 marvell,function = "sata0";
69 pmx_sata1: pmx-sata1 {
70 marvell,pins = "mpp20";
71 marvell,function = "sata1";
74 pmx_sdio_cd: pmx-sdio-cd {
75 marvell,pins = "mpp27";
76 marvell,function = "gpio";
79 pmx_sdio_wp: pmx-sdio-wp {
80 marvell,pins = "mpp28";
81 marvell,function = "gpio";
84 pmx_button_eject: pmx-button-eject {
85 marvell,pins = "mpp29";
86 marvell,function = "gpio";
89 pmx_led_green: pmx-led-green {
90 marvell,pins = "mpp22";
91 marvell,function = "gpio";
94 pmx_led_red: pmx-led-red {
95 marvell,pins = "mpp24";
96 marvell,function = "gpio";
105 * This PCIE controller has a USB 3.0 XHCI controller at 1,0
117 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
118 pinctrl-names = "default";
124 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd &pmx_sdio_wp>;
125 pinctrl-names = "default";
126 cd-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
127 wp-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
131 /* 128 MiB of NAND flash */
135 compatible = "fixed-partitions";
136 #address-cells = <1>;
141 reg = <0x00000000 0x200000>;
147 reg = <0x00200000 0x300000>;
152 reg = <0x00500000 0x300000>;
157 reg = <0x00800000 0x800000>;
162 reg = <0x01000000 0x7000000>;
170 ethphy0: ethernet-phy@0 {
178 phy-handle = <ðphy0>;