1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019 Andreas Kemnade
5 * Copyright 2016 Freescale Semiconductor, Inc.
7 * Copyright (C) 2014 Ricoh Electronic Devices Co., Ltd
9 * Netronix E60K02 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>
22 gpio_keys: gpio-keys {
23 compatible = "gpio-keys";
27 gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_POWER>;
34 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
35 linux,code = <SW_LID>;
36 linux,input-type = <EV_SW>;
42 compatible = "gpio-leds";
45 label = "e60k02:white:on";
46 gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "timer";
52 reg = <0x80000000 0x20000000>;
55 reg_wifi: regulator-wifi {
56 compatible = "regulator-fixed";
57 regulator-name = "SD3_SPWR";
58 regulator-min-microvolt = <3000000>;
59 regulator-max-microvolt = <3000000>;
60 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
64 wifi_pwrseq: wifi_pwrseq {
65 compatible = "mmc-pwrseq-simple";
66 post-power-on-delay-ms = <20>;
67 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
73 clock-frequency = <100000>;
76 lm3630a: backlight@36 {
78 compatible = "ti,lm3630a";
79 enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
87 label = "backlight_warm";
88 default-brightness = <0>;
89 max-brightness = <255>;
95 label = "backlight_cold";
96 default-brightness = <0>;
97 max-brightness = <255>;
103 clock-frequency = <100000>;
106 /* TODO: CYTTSP5 touch controller at 0x24 */
108 /* TODO: TPS65185 PMIC for E Ink at 0x68 */
113 clock-frequency = <100000>;
117 compatible = "ricoh,rc5t619";
119 system-power-controller;
123 regulator-name = "DCDC1";
124 regulator-min-microvolt = <300000>;
125 regulator-max-microvolt = <1875000>;
129 regulator-state-mem {
130 regulator-on-in-suspend;
131 regulator-suspend-max-microvolt = <900000>;
132 regulator-suspend-min-microvolt = <900000>;
138 regulator-name = "DCDC2";
142 regulator-state-mem {
143 regulator-on-in-suspend;
144 regulator-suspend-max-microvolt = <3300000>;
145 regulator-suspend-min-microvolt = <3300000>;
150 regulator-name = "DCDC3";
151 regulator-min-microvolt = <300000>;
152 regulator-max-microvolt = <1875000>;
156 regulator-state-mem {
157 regulator-on-in-suspend;
158 regulator-suspend-max-microvolt = <1140000>;
159 regulator-suspend-min-microvolt = <1140000>;
165 regulator-name = "DCDC4";
166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
171 regulator-state-mem {
172 regulator-on-in-suspend;
173 regulator-suspend-max-microvolt = <1140000>;
174 regulator-suspend-min-microvolt = <1140000>;
180 regulator-name = "DCDC5";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
186 regulator-state-mem {
187 regulator-on-in-suspend;
188 regulator-suspend-max-microvolt = <1700000>;
189 regulator-suspend-min-microvolt = <1700000>;
195 regulator-name = "LDO1";
201 regulator-name = "LDO2";
205 regulator-state-mem {
206 regulator-on-in-suspend;
207 regulator-suspend-max-microvolt = <3000000>;
208 regulator-suspend-min-microvolt = <3000000>;
214 regulator-name = "LDO3";
220 regulator-name = "LDO4";
226 regulator-name = "LDO5";
233 regulator-name = "LDO6";
240 regulator-name = "LDO7";
247 regulator-name = "LDO8";
248 regulator-min-microvolt = <1800000>;
249 regulator-max-microvolt = <1800000>;
255 regulator-name = "LDO9";
260 regulator-name = "LDO10";
264 ldortc1_reg: LDORTC1 {
265 regulator-name = "LDORTC1";
273 /* we are using the rtc in the pmic, not disabled in imx6sll.dtsi */
287 vmmc-supply = <®_wifi>;
288 mmc-pwrseq = <&wifi_pwrseq>;
295 pinctrl-names = "default";
296 disable-over-current;