1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Wiliboard WBD-222
9 #include <dt-bindings/input/input.h>
12 model = "Wiliboard WBD-222";
13 compatible = "wiliboard,wbd222", "cortina,gemini";
17 memory@0 { /* 128 MB */
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8";
28 compatible = "gpio-keys";
31 debounce-interval = <100>;
33 linux,code = <KEY_SETUP>;
35 /* Conflict with ICE */
36 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
44 label = "wbd111:red:L3";
45 /* Conflict with TVC and extended parallel flash */
46 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
47 default-state = "off";
50 label = "wbd111:green:L4";
51 /* Conflict with TVC and extended parallel flash */
52 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
53 default-state = "off";
56 label = "wbd111:red:L4";
57 /* Conflict with TVC and extended parallel flash */
58 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
59 default-state = "off";
62 label = "wbd111:green:L3";
63 /* Conflict with TVC and extended parallel flash */
64 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "heartbeat";
71 compatible = "virtual,mdio-gpio";
72 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
73 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
77 phy0: ethernet-phy@1 {
79 device_type = "ethernet-phy";
82 phy1: ethernet-phy@3 {
84 device_type = "ethernet-phy";
92 reg = <0x30000000 0x00800000>;
95 compatible = "redboot-fis";
96 /* Eraseblock at 0x7e0000 */
97 fis-index-block = <0x3f>;
101 syscon: syscon@40000000 {
104 * gpio0agrp cover line 0-4
105 * gpio0bgrp cover line 5
107 gpio0_default_pins: pinctrl-gpio0 {
110 groups = "gpio0agrp",
115 /* This platform use both the ethernet ports */
118 groups = "gmii_gmac0_grp", "gmii_gmac1_grp";
124 gpio0: gpio@4d000000 {
125 pinctrl-names = "default";
126 pinctrl-0 = <&gpio0_default_pins>;
138 phy-handle = <&phy0>;
142 phy-handle = <&phy1>;