1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2021 Andreas Kemnade
5 * Copyright 2016 Freescale Semiconductor, Inc.
7 * Copyright (C) 2014 Ricoh Electronic Devices Co., Ltd
9 * Netronix E70K02 board common.
10 * This board is equipped with different SoCs and
11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and
12 * the Tolino Shine 3 (with i.MX6SL)
14 #include <dt-bindings/input/input.h>
26 gpio_keys: gpio-keys {
27 compatible = "gpio-keys";
31 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_POWER>;
38 gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
39 linux,code = <SW_LID>;
40 linux,input-type = <EV_SW>;
46 gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_PAGEUP>;
52 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_PAGEDOWN>;
58 compatible = "gpio-leds";
61 label = "e70k02:white:on";
62 gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "timer";
68 device_type = "memory";
69 reg = <0x80000000 0x20000000>;
72 reg_wifi: regulator-wifi {
73 compatible = "regulator-fixed";
74 regulator-name = "SD3_SPWR";
75 regulator-min-microvolt = <3000000>;
76 regulator-max-microvolt = <3000000>;
77 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
81 wifi_pwrseq: wifi-pwrseq {
82 compatible = "mmc-pwrseq-simple";
83 post-power-on-delay-ms = <20>;
84 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
89 clock-frequency = <100000>;
92 lm3630a: backlight@36 {
94 compatible = "ti,lm3630a";
95 enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
103 label = "backlight_warm";
104 default-brightness = <0>;
105 max-brightness = <255>;
111 label = "backlight_cold";
112 default-brightness = <0>;
113 max-brightness = <255>;
117 /* TODO: KX122 acceleration sensor a 0x1e */
122 clock-frequency = <100000>;
125 /* TODO: CYTTSP5 touch controller at 0x24 */
127 /* TODO: SY7636 PMIC for E Ink at 0x62 */
132 clock-frequency = <100000>;
136 compatible = "ricoh,rc5t619";
138 interrupt-parent = <&gpio4>;
139 interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
140 system-power-controller;
144 regulator-name = "DCDC1";
145 regulator-min-microvolt = <300000>;
146 regulator-max-microvolt = <1875000>;
150 regulator-state-mem {
151 regulator-on-in-suspend;
152 regulator-suspend-max-microvolt = <900000>;
153 regulator-suspend-min-microvolt = <900000>;
159 regulator-name = "DCDC2";
163 regulator-state-mem {
164 regulator-on-in-suspend;
165 regulator-suspend-max-microvolt = <3300000>;
166 regulator-suspend-min-microvolt = <3300000>;
171 regulator-name = "DCDC3";
172 regulator-min-microvolt = <300000>;
173 regulator-max-microvolt = <1875000>;
177 regulator-state-mem {
178 regulator-on-in-suspend;
179 regulator-suspend-max-microvolt = <1140000>;
180 regulator-suspend-min-microvolt = <1140000>;
186 regulator-name = "DCDC4";
187 regulator-min-microvolt = <1200000>;
188 regulator-max-microvolt = <1200000>;
192 regulator-state-mem {
193 regulator-on-in-suspend;
194 regulator-suspend-max-microvolt = <1140000>;
195 regulator-suspend-min-microvolt = <1140000>;
201 regulator-name = "DCDC5";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
207 regulator-state-mem {
208 regulator-on-in-suspend;
209 regulator-suspend-max-microvolt = <1700000>;
210 regulator-suspend-min-microvolt = <1700000>;
215 regulator-name = "LDO1";
221 regulator-name = "LDO2";
225 regulator-state-mem {
226 regulator-on-in-suspend;
227 regulator-suspend-max-microvolt = <3000000>;
228 regulator-suspend-min-microvolt = <3000000>;
234 regulator-name = "LDO3";
240 regulator-name = "LDO4";
246 regulator-name = "LDO5";
253 regulator-name = "LDO6";
260 regulator-name = "LDO7";
266 regulator-name = "LDO8";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
273 regulator-name = "LDO9";
278 regulator-name = "LDO10";
282 ldortc1_reg: LDORTC1 {
283 regulator-name = "LDORTC1";
291 /* we are using the rtc in the pmic, not disabled in imx6sll.dtsi */
306 vmmc-supply = <®_wifi>;
307 mmc-pwrseq = <&wifi_pwrseq>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_usbotg1>;
316 disable-over-current;