1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Endian 4i Edge 200 Board Description
4 * Note: Endian UTM Mini is hardware clone of Endian Edge 200
5 * Copyright 2021 Pawel Dembicki <paweldembicki@gmail.com>
10 #include "kirkwood.dtsi"
11 #include "kirkwood-6281.dtsi"
14 model = "Endian 4i Edge 200";
15 compatible = "endian,4i-edge-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18 device_type = "memory";
19 reg = <0x00000000 0x20000000>;
23 led-boot = &led_status_green;
24 led-failsafe = &led_status_orange;
25 led-running = &led_status_green;
26 led-upgrade = &led_status_orange;
30 bootargs = "console=ttyS0,115200n8";
35 compatible = "gpio-leds";
36 pinctrl-0 = <&pmx_led49 &pmx_led35 &pmx_led34>;
37 pinctrl-names = "default";
39 led_status_green: status_green {
40 label = "green:status";
41 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
44 led_status_orange: status_orange {
45 label = "orange:status";
46 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
50 label = "orange:sdcard";
51 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "mmc0";
71 phy-handle = <ðphyb>;
77 ethphyb: ethernet-phy@b {
81 /* link-activity, bi-color mode 4 */
82 <3 0x10 0xfff0 0xf>; /* Reg 3,16 <- 0xzzzf */
86 compatible = "marvell,mv88e6085";
116 phy-mode = "rgmii-id";
117 ethernet = <ð0port>;
130 pinctrl-0 = <&pmx_nand>;
131 pinctrl-names = "default";
135 reg = <0x00000000 0x000a0000>;
140 label = "u-boot-env";
141 reg = <0x000a0000 0x00060000>;
147 reg = <0x00100000 0x00400000>;
152 reg = <0x00500000 0x1fb00000>;
165 pinctrl-0 = <&pmx_sysrst>;
166 pinctrl-names = "default";
168 pmx_sysrst: pmx-sysrst {
169 marvell,pins = "mpp6";
170 marvell,function = "sysrst";
173 pmx_sdio_cd: pmx-sdio-cd {
174 marvell,pins = "mpp28";
175 marvell,function = "gpio";
178 pmx_led34: pmx_led34 {
179 marvell,pins = "mpp34";
180 marvell,function = "gpio";
183 pmx_led35: pmx_led35 {
184 marvell,pins = "mpp35";
185 marvell,function = "gpio";
188 pmx_led49: pmx_led49 {
189 marvell,pins = "mpp49";
190 marvell,function = "gpio";
207 pinctrl-0 = <&pmx_sdio_cd>;
208 pinctrl-names = "default";
210 cd-gpios = <&gpio0 28 9>;