1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Wiliboard WBD-111
9 #include <dt-bindings/input/input.h>
12 model = "Wiliboard WBD-111";
13 compatible = "wiliboard,wbd111", "cortina,gemini";
19 device_type = "memory";
20 reg = <0x00000000 0x8000000>;
24 bootargs = "console=ttyS0,115200n8";
29 compatible = "gpio-keys";
32 debounce-interval = <50>;
34 linux,code = <KEY_SETUP>;
36 /* Conflict with ICE */
37 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-leds";
45 label = "wbd111:red:L3";
46 /* Conflict with TVC and extended parallel flash */
47 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
51 label = "wbd111:green:L4";
52 /* Conflict with TVC and extended parallel flash */
53 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
57 label = "wbd111:red:L4";
58 /* Conflict with TVC and extended parallel flash */
59 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
60 default-state = "off";
63 label = "wbd111:green:L3";
64 /* Conflict with TVC and extended parallel flash */
65 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
67 linux,default-trigger = "heartbeat";
72 compatible = "virtual,mdio-gpio";
73 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
74 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
78 phy0: ethernet-phy@1 {
80 device_type = "ethernet-phy";
88 reg = <0x30000000 0x00800000>;
92 reg = <0x00000000 0x00020000>;
97 reg = <0x00020000 0x00100000>;
101 reg = <0x00120000 0x006a0000>;
105 reg = <0x007c0000 0x00010000>;
110 reg = <0x007d0000 0x00010000>;
115 reg = <0x007e0000 0x00010000>;
120 syscon: syscon@40000000 {
123 * gpio0agrp cover line 0-4
124 * gpio0bgrp cover line 5
126 gpio0_default_pins: pinctrl-gpio0 {
129 groups = "gpio0agrp",
136 gpio0: gpio@4d000000 {
137 pinctrl-names = "default";
138 pinctrl-0 = <&gpio0_default_pins>;
143 interrupt-map-mask = <0xf800 0 0 7>;
145 <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
146 <0x4800 0 0 2 &pci_intc 1>,
147 <0x4800 0 0 3 &pci_intc 2>,
148 <0x4800 0 0 4 &pci_intc 3>,
149 <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
150 <0x5000 0 0 2 &pci_intc 2>,
151 <0x5000 0 0 3 &pci_intc 3>,
152 <0x5000 0 0 4 &pci_intc 0>,
153 <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
154 <0x5800 0 0 2 &pci_intc 3>,
155 <0x5800 0 0 3 &pci_intc 0>,
156 <0x5800 0 0 4 &pci_intc 1>,
157 <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
158 <0x6000 0 0 2 &pci_intc 0>,
159 <0x6000 0 0 3 &pci_intc 1>,
160 <0x6000 0 0 4 &pci_intc 2>;
168 phy-handle = <&phy0>;
171 /* Not used in this platform */