Lines Matching +full:li +full:- +full:ion
1 // SPDX-License-Identifier: GPL-2.0-only
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
32 compatible = "gpio-keys";
34 pinctrl-names = "default";
35 pinctrl-0 = <&button_bias>;
75 * The EV3 has two built-in bi-color LEDs behind the buttons.
78 compatible = "gpio-leds";
81 label = "led0:green:brick-status";
84 linux,default-trigger = "default-on";
88 label = "led1:red:brick-status";
91 linux,default-trigger = "default-on";
95 label = "led0:red:brick-status";
98 linux,default-trigger = "default-on";
102 label = "led1:green:brick-status";
105 linux,default-trigger = "default-on";
112 gpio-poweroff {
113 compatible = "gpio-poweroff";
118 compatible = "pwm-beeper";
119 pinctrl-names = "default";
120 pinctrl-0 = <&ehrpwm0b_pins>;
122 amp-supply = <&>;
126 compatible = "regulator-fixed";
127 regulator-name = "cvdd";
128 regulator-min-microvolt = <1200000>;
129 regulator-max-microvolt = <1200000>;
130 regulator-always-on;
131 regulator-boot-on;
139 compatible = "regulator-fixed";
140 regulator-name = "vcc5v";
141 regulator-min-microvolt = <5000000>;
142 regulator-max-microvolt = <5000000>;
144 over-current-gpios = <&gpio 99 GPIO_ACTIVE_LOW>;
145 enable-active-high;
146 regulator-boot-on;
154 compatible = "regulator-fixed";
155 regulator-name = "adc ref";
156 regulator-min-microvolt = <2500000>;
157 regulator-max-microvolt = <2500000>;
158 regulator-boot-on;
159 vin-supply = <&vcc5v>;
166 compatible = "regulator-fixed";
167 regulator-name = "amp";
169 enable-active-high;
173 * The EV3 can use 6-AA batteries or a rechargeable Li-ion battery pack.
176 compatible = "lego,ev3-battery";
177 io-channels = <&adc 4>, <&adc 3>;
178 io-channel-names = "voltage", "current";
179 rechargeable-gpios = <&gpio 136 GPIO_ACTIVE_LOW>;
182 bt_slow_clk: bt-clock {
183 pinctrl-names = "default";
184 pinctrl-0 = <&ecap2_pins>, <&bt_clock_bias>;
185 compatible = "pwm-clock";
186 #clock-cells = <0>;
187 clock-frequency = <32768>;
193 compatible = "syscon", "simple-mfd";
200 reboot-mode {
201 compatible = "syscon-reboot-mode";
203 mode-normal = <0x00000000>;
204 mode-loader = <0x5555aaaa>;
210 clock-frequency = <24000000>;
214 cpu-supply = <&cvdd>;
237 ev3_lcd_pins: lcd-pins {
238 pinctrl-single,bits = <
249 button_bias: button-bias-groups {
252 bias-disable;
256 bt_clock_bias: bt-clock-bias-groups {
259 bias-disable;
263 bt_pic_bias: bt-pic-bias-groups {
266 bias-disable;
274 pinctrl-names = "default";
275 pinctrl-0 = <&serial1_rxtx_pins>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&serial2_rxtx_pins>, <&serial2_rtscts_pins>, <&bt_pic_bias>;
286 clock-names = "ext_clock";
287 enable-gpios = <&gpio 73 GPIO_ACTIVE_HIGH>;
288 max-speed = <2000000>;
289 nvmem-cells = <&bdaddr>;
290 nvmem-cell-names = "bd-address";
300 clock-frequency = <400000>;
301 pinctrl-names = "default";
302 pinctrl-0 = <&i2c0_pins>;
310 read-only;
312 #address-cells = <1>;
313 #size-cells = <1>;
327 max-frequency = <50000000>;
328 bus-width = <4>;
329 cd-gpios = <&gpio 94 GPIO_ACTIVE_LOW>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&mmc0_pins>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&spi0_pins>, <&spi0_cs0_pin>, <&spi0_cs3_pin>;
340 compatible = "n25q128a13", "jedec,spi-nor";
342 spi-max-frequency = <50000000>;
343 ti,spi-wdelay = <8>;
347 compatible = "fixed-partitions";
348 #address-cells = <1>;
349 #size-cells = <1>;
352 label = "U-Boot";
357 label = "U-Boot Env";
381 #io-channel-cells = <1>;
382 spi-max-frequency = <1000000>;
383 ti,spi-wdelay = <63>;
384 vref-supply = <&adc_ref>;
390 pinctrl-0 = <&ev3_lcd_pins>;
391 pinctrl-names = "default";
392 cs-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
395 compatible = "lego,ev3-lcd";
397 spi-max-frequency = <10000000>;
398 a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
399 reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
416 gpio-hog;
418 output-high;
423 gpio-hog;
437 gpio-hog;
439 output-low;
443 gpio-hog;
445 output-high;
449 gpio-hog;
465 vbus-supply = <&vcc5v>;