Lines Matching +full:switch +full:- +full:mode +full:- +full:frequency
1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the RZN1D-DB Board
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/net/pcs-rzn1-miic.h>
15 #include <dt-bindings/pinctrl/rzn1-pinctrl.h>
20 model = "RZN1D-DB Board";
21 compatible = "renesas,rzn1d400-db", "renesas,r9a06g032";
24 stdout-path = "serial0:115200n8";
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
35 switch-1 {
37 label = "SW1-1";
38 debounce-interval = <20>;
42 switch-2 {
44 label = "SW1-2";
45 debounce-interval = <20>;
49 switch-3 {
51 label = "SW1-3";
52 debounce-interval = <20>;
56 switch-4 {
58 label = "SW1-4";
59 debounce-interval = <20>;
63 switch-5 {
65 label = "SW1-5";
66 debounce-interval = <20>;
70 switch-6 {
72 label = "SW1-6";
73 debounce-interval = <20>;
77 switch-7 {
79 label = "SW1-7";
80 debounce-interval = <20>;
84 switch-8 {
86 label = "SW1-8";
87 debounce-interval = <20>;
93 compatible = "gpio-leds";
95 led-dbg0 {
99 function-enumerator = <0>;
102 led-dbg1 {
106 function-enumerator = <1>;
109 led-dbg2 {
113 function-enumerator = <2>;
116 led-dbg3 {
120 function-enumerator = <3>;
123 led-dbg4 {
127 function-enumerator = <4>;
130 led-dbg5 {
134 function-enumerator = <5>;
137 led-dbg6 {
141 function-enumerator = <6>;
144 led-dbg7 {
148 function-enumerator = <7>;
154 pinctrl-0 = <&pins_can0>;
155 pinctrl-names = "default";
162 pinctrl-0 = <&pins_can1>;
163 pinctrl-names = "default";
171 renesas,miic-switch-portin = <MIIC_GMAC2_PORT>;
175 clock-frequency = <32768>;
180 phy-mode = "gmii";
182 fixed-link {
184 full-duplex;
189 pinctrl-0 = <&pins_i2c2>;
190 pinctrl-names = "default";
192 clock-frequency = <400000>;
197 gpio-controller;
198 #gpio-cells = <2>;
200 /* configure the analog switch to let i2c2 access the eeprom */
201 max4662-in1-hog {
202 gpio-hog;
204 output-high;
206 max4662-in2-hog {
207 gpio-hog;
209 output-low;
211 max4662-in3-hog {
212 gpio-hog;
214 output-low;
227 renesas,miic-input = <MIIC_SWITCH_PORTB>;
232 renesas,miic-input = <MIIC_SWITCH_PORTA>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&pins_cpld>;
243 drive-strength = <6>;
249 drive-strength = <6>;
252 pins_cpld: pins-cpld {
272 drive-strength = <6>;
273 bias-disable;
289 drive-strength = <6>;
290 bias-disable;
296 drive-strength = <12>;
309 &switch {
311 #address-cells = <1>;
312 #size-cells = <0>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pins_eth3>, <&pins_eth4>, <&pins_mdio1>;
320 clock-frequency = <2500000>;
322 #address-cells = <1>;
323 #size-cells = <0>;
325 switch0phy4: ethernet-phy@4 {
327 micrel,led-mode = <1>;
330 switch0phy5: ethernet-phy@5 {
332 micrel,led-mode = <1>;
339 phy-mode = "mii";
340 phy-handle = <&switch0phy5>;
346 phy-mode = "mii";
347 phy-handle = <&switch0phy4>;
364 timeout-sec = <60>;