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 device_type = "memory";
53 reg = <0x80000000 0x20000000>;
56 reg_wifi: regulator-wifi {
57 compatible = "regulator-fixed";
58 regulator-name = "SD3_SPWR";
59 regulator-min-microvolt = <3000000>;
60 regulator-max-microvolt = <3000000>;
61 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
65 wifi_pwrseq: wifi_pwrseq {
66 compatible = "mmc-pwrseq-simple";
67 post-power-on-delay-ms = <20>;
68 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
74 clock-frequency = <100000>;
77 lm3630a: backlight@36 {
79 compatible = "ti,lm3630a";
80 enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
88 label = "backlight_warm";
89 default-brightness = <0>;
90 max-brightness = <255>;
96 label = "backlight_cold";
97 default-brightness = <0>;
98 max-brightness = <255>;
104 clock-frequency = <100000>;
107 /* TODO: CYTTSP5 touch controller at 0x24 */
109 /* TODO: TPS65185 PMIC for E Ink at 0x68 */
114 clock-frequency = <100000>;
118 compatible = "ricoh,rc5t619";
120 interrupt-parent = <&gpio5>;
121 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
122 system-power-controller;
126 regulator-name = "DCDC1";
127 regulator-min-microvolt = <300000>;
128 regulator-max-microvolt = <1875000>;
132 regulator-state-mem {
133 regulator-on-in-suspend;
134 regulator-suspend-max-microvolt = <900000>;
135 regulator-suspend-min-microvolt = <900000>;
141 regulator-name = "DCDC2";
145 regulator-state-mem {
146 regulator-on-in-suspend;
147 regulator-suspend-max-microvolt = <3300000>;
148 regulator-suspend-min-microvolt = <3300000>;
153 regulator-name = "DCDC3";
154 regulator-min-microvolt = <300000>;
155 regulator-max-microvolt = <1875000>;
159 regulator-state-mem {
160 regulator-on-in-suspend;
161 regulator-suspend-max-microvolt = <1140000>;
162 regulator-suspend-min-microvolt = <1140000>;
168 regulator-name = "DCDC4";
169 regulator-min-microvolt = <1200000>;
170 regulator-max-microvolt = <1200000>;
174 regulator-state-mem {
175 regulator-on-in-suspend;
176 regulator-suspend-max-microvolt = <1140000>;
177 regulator-suspend-min-microvolt = <1140000>;
183 regulator-name = "DCDC5";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
189 regulator-state-mem {
190 regulator-on-in-suspend;
191 regulator-suspend-max-microvolt = <1700000>;
192 regulator-suspend-min-microvolt = <1700000>;
198 regulator-name = "LDO1";
204 regulator-name = "LDO2";
208 regulator-state-mem {
209 regulator-on-in-suspend;
210 regulator-suspend-max-microvolt = <3000000>;
211 regulator-suspend-min-microvolt = <3000000>;
217 regulator-name = "LDO3";
223 regulator-name = "LDO4";
229 regulator-name = "LDO5";
236 regulator-name = "LDO6";
243 regulator-name = "LDO7";
250 regulator-name = "LDO8";
251 regulator-min-microvolt = <1800000>;
252 regulator-max-microvolt = <1800000>;
258 regulator-name = "LDO9";
263 regulator-name = "LDO10";
267 ldortc1_reg: LDORTC1 {
268 regulator-name = "LDORTC1";
276 /* we are using the rtc in the pmic, not disabled in imx6sll.dtsi */
290 vmmc-supply = <®_wifi>;
291 mmc-pwrseq = <&wifi_pwrseq>;
298 pinctrl-names = "default";
299 disable-over-current;