2 * kirkwood-pogoplug-series-4.dts - Device tree file for PogoPlug Series 4
3 * inspired by the board files made by Kevin Mihelich for ArchLinux,
6 * Copyright (C) 2015 Linus Walleij <linus.walleij@linaro.org>
11 #include "kirkwood.dtsi"
12 #include "kirkwood-6192.dtsi"
13 #include <dt-bindings/input/linux-event-codes.h>
16 model = "Cloud Engines PogoPlug Series 4";
17 compatible = "cloudengines,pogoplugv4", "marvell,kirkwood-88f6192",
21 device_type = "memory";
22 reg = <0x00000000 0x08000000>;
26 stdout-path = "uart0:115200n8";
30 compatible = "gpio-keys";
33 pinctrl-0 = <&pmx_button_eject>;
34 pinctrl-names = "default";
37 debounce_interval = <50>;
39 linux,code = <KEY_EJECTCD>;
40 label = "Eject Button";
41 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-leds";
47 pinctrl-0 = <&pmx_led_green &pmx_led_red>;
48 pinctrl-names = "default";
51 label = "pogoplugv4:green:health";
52 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
56 label = "pogoplugv4:red:fault";
57 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
63 pmx_sata0: pmx-sata0 {
64 marvell,pins = "mpp21";
65 marvell,function = "sata0";
68 pmx_sata1: pmx-sata1 {
69 marvell,pins = "mpp20";
70 marvell,function = "sata1";
73 pmx_sdio_cd: pmx-sdio-cd {
74 marvell,pins = "mpp27";
75 marvell,function = "gpio";
78 pmx_sdio_wp: pmx-sdio-wp {
79 marvell,pins = "mpp28";
80 marvell,function = "gpio";
83 pmx_button_eject: pmx-button-eject {
84 marvell,pins = "mpp29";
85 marvell,function = "gpio";
88 pmx_led_green: pmx-led-green {
89 marvell,pins = "mpp22";
90 marvell,function = "gpio";
93 pmx_led_red: pmx-led-red {
94 marvell,pins = "mpp24";
95 marvell,function = "gpio";
104 * This PCIE controller has a USB 3.0 XHCI controller at 1,0
116 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
117 pinctrl-names = "default";
123 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd &pmx_sdio_wp>;
124 pinctrl-names = "default";
125 cd-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
126 wp-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
130 /* 128 MiB of NAND flash */
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x00000000 0x200000>;
146 reg = <0x00200000 0x300000>;
151 reg = <0x00500000 0x300000>;
156 reg = <0x00800000 0x800000>;
161 reg = <0x01000000 0x7000000>;
169 ethphy0: ethernet-phy@0 {
177 phy-handle = <ðphy0>;