1
0
Fork 0

rM2: ARM: dts: imx7d: remarkable2: Initial commit

Signed-off-by: Alistair Francis <alistair@alistair23.me>
5.4-rM2-2.2.x-imx-deep-sleep
Alistair Francis 2021-02-07 09:34:53 -08:00
parent 739c2edfa2
commit 8508afa801
2 changed files with 956 additions and 0 deletions

View File

@ -662,6 +662,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \
imx7d-nitrogen7.dtb \
imx7d-pico-hobbit.dtb \
imx7d-pico-pi.dtb \
imx7d-remarkable2.dtb \
imx7d-sbc-imx7.dtb \
imx7d-sdb.dtb \
imx7d-sdb-epdc.dtb \

View File

@ -0,0 +1,955 @@
/*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
* Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/
*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
* licensing only applies to this file, and not this project as a
* whole.
*
* a) This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Or, alternatively,
*
* b) Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
/dts-v1/;
#include "imx7d.dtsi"
/ {
model = "reMarkable 2.0";
compatible = "fsl,imx7d-sdb", "fsl,imx7d";
chosen {
stdout-path = &uart1;
};
memory {
reg = <0x80000000 0x40000000>;
};
thermal-zones {
epd-thermal {
thermal-sensors = <&epd_pmic>;
polling-delay-passive = <30000>;
polling-delay = <30000>;
trips {
trip0 {
temperature = <49000>;
hysteresis = <2000>;
type = "passive";
};
trip1 {
temperature = <50000>;
hysteresis = <2000>;
type = "critical";
};
};
};
};
reg_vref_1v8: regulator-vref-1v8 {
compatible = "regulator-fixed";
regulator-name = "vref-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
reg_brcm: regulator-brcm {
compatible = "regulator-fixed";
regulator-name = "brcm_reg";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_brcm_reg>;
pinctrl-1 = <&pinctrl_brcm_reg>;
gpio = <&gpio6 13 GPIO_ACTIVE_HIGH>;
enable-active-high;
startup-delay-us = <150>;
};
reg_digitizer: regulator-digitizer {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_DIGITIZER";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_digitizer_reg>;
pinctrl-1 = <&pinctrl_digitizer_reg>;
gpio = <&gpio1 6 GPIO_ACTIVE_HIGH>;
enable-active-high;
startup-delay-us = <100000>; /* 100 ms */
};
reg_touch: regulator-touch {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_TOUCH";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_touch_reg>;
pinctrl-1 = <&pinctrl_touch_reg>;
gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
reg_sdoe: regulator-sdoe {
compatible = "regulator-fixed";
regulator-name = "SDOE";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_sdoe_reg>;
pinctrl-1 = <&pinctrl_sdoe_reg>;
gpio = <&gpio3 27 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
reg_gdoe: regulator-gdoe {
compatible = "regulator-fixed";
regulator-name = "GDOE";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_gdoe_reg>;
pinctrl-1 = <&pinctrl_gdoe_reg>;
gpio = <&gpio3 21 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_wifi>;
pinctrl-1 = <&pinctrl_wifi>;
reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
clock-names = "ext_clock";
};
otgcontrol: otgcontrol1 {
pinctrl-names = "default", "one_wire_uart_tx", "one_wire_uart_rx",
"sleep";
pinctrl-0 = <&pinctrl_one_wire_gpio>;
pinctrl-1 = <&pinctrl_one_wire_uart6_tx>;
pinctrl-2 = <&pinctrl_one_wire_uart6_rx>;
pinctrl-3 = <&pinctrl_one_wire_gpio>;
compatible = "rm-otgcontrol";
vbus-supply =<&max77818_fg>;
one-wire-tty-name = "ttymxc5";
one-wire-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
};
};
&cpu0 {
cpu-supply = <&buck1_reg>;
};
&clks {
assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
<&clks IMX7D_CLKO2_ROOT_DIV>;
assigned-clock-parents = <&clks IMX7D_CKIL>;
assigned-clock-rates = <0>, <32768>;
};
&crypto {
status = "disabled";
};
&dma_apbh {
status = "disabled";
};
&i2c1 {
clock-frequency = <400000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_i2c1>;
pinctrl-1 = <&pinctrl_i2c1>;
status = "okay";
digitizer: wacom-i2c@9 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_wacom>;
pinctrl-1 = <&pinctrl_wacom>;
compatible = "wacom,wacom-i2c";
reg = <0x09>;
interrupt-parent = <&gpio1>;
interrupts = <1 2>;
flip-tilt-x;
flip-tilt-y;
flip-pos-x;
flip-pos-y;
flip-distance;
vdd-supply = <&reg_digitizer>;
};
};
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_i2c2>;
pinctrl-1 = <&pinctrl_i2c2>;
status = "okay";
pmic: bd71815@4b {
reg = <0x4b>;
compatible = "rohm,bd71815";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_bd71815>;
/* PMIC_INT_B GPIO6_IO16 */
gpio_intr = <&gpio6 16 0>;
regulators {
#address-cells = <1>;
#size-cells = <0>;
buck1_reg: regulator@0 {
reg = <0>;
regulator-compatible = "buck1";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <2000000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1250>;
};
buck2_reg: regulator@1 {
reg = <1>;
regulator-compatible = "buck2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <2000000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1250>;
};
buck3_reg: regulator@2 {
reg = <2>;
regulator-compatible = "buck3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <2700000>;
regulator-boot-on;
regulator-always-on;
};
buck4_reg: regulator@3 {
reg = <3>;
regulator-compatible = "buck4";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1850000>;
regulator-boot-on;
regulator-always-on;
};
buck5_reg: regulator@4 {
reg = <4>;
regulator-compatible = "buck5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo1_reg: regulator@5 {
reg = <5>;
regulator-compatible = "ldo1";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2_reg: regulator@6 {
reg = <6>;
regulator-compatible = "ldo2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo3_reg: regulator@7 {
reg = <7>;
regulator-compatible = "ldo3";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo4_reg: regulator@8 {
reg = <8>;
regulator-compatible = "ldo4";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo5_reg: regulator@9 {
reg = <9>;
regulator-compatible = "ldo5";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
dvref_reg: regulator@10 {
reg = <10>;
regulator-compatible = "dvref";
regulator-boot-on;
regulator-always-on;
};
lpsr_reg: regulator@11 {
reg = <11>;
regulator-compatible = "lpsr";
regulator-boot-on;
regulator-always-on;
};
wled_reg: regulator@12 {
reg = <12>;
regulator-compatible = "wled";
regulator-min-microamp = <10>;
regulator-max-microamp = <25000>;
regulator-boot-on;
regulator-always-on;
};
};
};
max77818@66 {
compatible = "maxim,max77818";
#address-cells = <0>;
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_max77818 &pinctrl_chg_stat>;
pinctrl-1 = <&pinctrl_max77818 &pinctrl_chg_stat>;
reg = <0x66>;
/* regulators {
compatible = "maxim,max77818-regulator";
reg_safeout1: SAFEOUT1 {
regulator-name = "SAFEOUT1";
};
SAFEOUT2 {
regulator-name = "SAFEOUT2";
};
};*/
max77818_chg: charger {
compatible = "maxim,max77818-charger";
fast_charge_current = <1500>; /* mA */
charge_termination_voltage = <4400>; /* mV */
vsys_min = <3400>; /* mV */
default_current_limit = <500>; /* mA */
input_current_limit_chgin = <1500>; /* mA */
input_current_limit_wcin = <1260>; /* mA */
topoff_current = <100>; /* mA */
chgin-stat-gpios = <&gpio6 19 GPIO_ACTIVE_LOW>;
wcin-stat-gpios = <&gpio6 20 GPIO_ACTIVE_LOW>;
};
max77818_fg: fuelgauge {
compatible = "maxim,max77818-fuelgauge";
power-supplies = <&max77818_chg>;
usb-phy1 = <&usbphynop1>;
usb-phy2 = <&usbphynop2>;
usb_safe_max_current = <500>; /* mA */
maxim,over-heat-temp = <600>; /* tenths of degree Celsius */
maxim,cold-temp = <(-200)>;
maxim,over-volt = <4400>; /* mV */
maxim,dead-volt = <3000>;
maxim,at-rate = /bits/ 16 <0x1900>;
maxim,design-cap = /bits/ 16 <0x1816>;
maxim,config = /bits/ 16 <0x0a14>; /* FGCC Enabled */
/* maxim,config = /bits/ 16 <0x0214>; /* FGCC disabled */
maxim,config2 = /bits/ 16 <0x0050>;
maxim,convgcfg = /bits/ 16 <0x2241>;
maxim,dpacc = /bits/ 16 <0x3200>;
maxim,dqacc = /bits/ 16 <0x0605>;
maxim,filter-cfg = /bits/ 16 <0xcea4>;
maxim,fullcapnom = /bits/ 16 <0x1816>;
maxim,fullcaprep = /bits/ 16 <0x1816>;
maxim,full-soc-threshold = /bits/ 16 <0x5f05>;
maxim,iavg-empty = /bits/ 16 <0x1345>;
maxim,ichg-term = /bits/ 16 <0x0180>;
maxim,learn-cfg = /bits/ 16 <0x2602>;
maxim,misc-cfg = /bits/ 16 <0x3870>;
maxim,qresidual00 = /bits/ 16 <0x1000>;
maxim,qresidual10 = /bits/ 16 <0x0880>;
maxim,qresidual20 = /bits/ 16 <0x0500>;
maxim,qresidual30 = /bits/ 16 <0x0480>;
maxim,rcomp0 = /bits/ 16 <0x003a>;
maxim,relax-cfg = /bits/ 16 <0x043c>;
maxim,smart-chg-cfg = /bits/ 16 <0x0013>; /* SmartChg Enabled, SmartFull enabled */
maxim,tempco = /bits/ 16 <0x1728>;
maxim,v-empty = /bits/ 16 <0x9157>;
maxim,tgain = /bits/ 16 <0xee56>;
maxim,toff = /bits/ 16 <0x1da4>;
maxim,tcurve = /bits/ 16 <0x0025>;
maxim,talrt-th = /bits/ 16 <0x2d0a>; /* T2 = 10 deg/T2 = 45 deg */
maxim,talrt-th2 = /bits/ 16 <0x3700>; /* T1 = 0 deg/T4 = 55 deg */
maxim,jeita-curr = /bits/ 16 <0x18d0>; /* 19%/100%/19% */
maxim,jeita-volt = /bits/ 16 <0xfc9f>; /* 4.4V/4.4V/4.1V */
maxim,chargestate0 = /bits/ 16 <0x101e>;
maxim,chargestate1 = /bits/ 16 <0x0c1e>;
maxim,chargestate2 = /bits/ 16 <0x0c1e>;
maxim,chargestate3 = /bits/ 16 <0x0c1e>;
maxim,chargestate4 = /bits/ 16 <0x0c1e>;
maxim,chargestate5 = /bits/ 16 <0x0c1e>;
maxim,chargestate6 = /bits/ 16 <0x0c1e>;
maxim,chargestate7 = /bits/ 16 <0x0c1e>;
maxim,cell-model-data = /bits/ 16 <
0x9d10 0xab90 0xb710 0xb8f0
0xba90 0xbc10 0xbd10 0xbe00
0xbef0 0xbff0 0xc1b0 0xc490
0xc800 0xce40 0xd4c0 0xdb40
0x0020 0x0200 0x0c40 0x0d00
0x1120 0x1980 0x17b0 0x19f0
0x0df0 0x10f0 0x08f0 0x0810
0x0770 0x06f0 0x06a0 0x06a0
0x0200 0x0200 0x0200 0x0200
0x0200 0x0200 0x0200 0x0200
0x0200 0x0200 0x0200 0x0200
0x0200 0x0200 0x0200 0x0200
>;
};
};
};
&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_i2c3>;
pinctrl-1 = <&pinctrl_i2c3>;
status = "okay";
tsc@24 {
status = "okay";
compatible = "cy,cyttsp5_i2c_adapter";
reg = <0x24>;
interrupt-parent = <&gpio1>;
interrupts = <14 2>;
cy,adapter_id = "cyttsp5_i2c_adapter";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_touch>;
pinctrl-1 = <&pinctrl_touch>;
vdd-supply = <&reg_touch>;
cy,core {
cy,name = "cyttsp5_core";
cy,irq_gpio = <&gpio1 14 0>;
cy,rst_gpio = <&gpio1 13 0>;
cy,hid_desc_register = <1>;
/* CY_CORE_FLAG_RESTORE_PARAMETERS & CY_CORE_FLAG_POWEROFF_ON_SLEEP */
cy,flags = <0x6>;
/* CY_CORE_EWG_NONE */
cy,easy_wakeup_gesture = <0>;
cy,btn_keys = <172 /* KEY_HOMEPAGE */
/* previously was KEY_HOME, new Android versions use KEY_HOMEPAGE */
139 /* KEY_MENU */
158 /* KEY_BACK */
217 /* KEY_SEARCH */
114 /* KEY_VOLUMEDOWN */
115 /* KEY_VOLUMEUP */
212 /* KEY_CAMERA */
116>; /* KEY_POWER */
cy,btn_keys-tag = <0>;
cy,fb_blanking_disabled;
cy,mt {
cy,name = "cyttsp5_mt";
cy,inp_dev_name = "cyttsp5_mt";
cy,flags = <0>;
cy,abs =
/* ABS_MT_POSITION_X, CY_ABS_MIN_X, CY_ABS_MAX_X, 0, 0 */
<0x35 0 880 0 0
/* ABS_MT_POSITION_Y, CY_ABS_MIN_Y, CY_ABS_MAX_Y, 0, 0 */
0x36 0 1280 0 0
/* ABS_MT_PRESSURE, CY_ABS_MIN_P, CY_ABS_MAX_P, 0, 0 */
0x3a 0 255 0 0
/* CY_IGNORE_VALUE, CY_ABS_MIN_W, CY_ABS_MAX_W, 0, 0 */
0xffff 0 255 0 0
/* ABS_MT_TRACKING_ID, CY_ABS_MIN_T, CY_ABS_MAX_T, 0, 0 */
0x39 0 15 0 0
/* ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0 */
0x30 0 255 0 0
/* ABS_MT_TOUCH_MINOR, 0, 255, 0, 0 */
0x31 0 255 0 0
/* ABS_MT_ORIENTATION, -127, 127, 0, 0 */
0x34 0xffffff81 127 0 0
/* ABS_MT_TOOL_TYPE, 0, MT_TOOL_MAX, 0, 0 */
0x37 0 1 0 0
/* ABS_DISTANCE, 0, 255, 0, 0 */
0x19 0 255 0 0>;
cy,vkeys_x = <720>;
cy,vkeys_y = <1280>;
cy,virtual_keys = /* KeyCode CenterX CenterY Width Height */
/* KEY_BACK */
<158 1360 90 160 180
/* KEY_MENU */
139 1360 270 160 180
/* KEY_HOMEPAGE */
172 1360 450 160 180
/* KEY SEARCH */
217 1360 630 160 180>;
};
};
};
};
&i2c4 {
clock-frequency = <100000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_i2c4>;
pinctrl-1 = <&pinctrl_i2c4>;
status = "okay";
epd_pmic: sy7636a@62 {
compatible = "silergy,sy7636a";
reg = <0x62>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_epdpmic>;
#thermal-sensor-cells = <0>;
epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>;
regulators {
compatible = "silergy,sy7636a-regulator";
reg_epdpmic: vcom {
regulator-name = "vcom";
regulator-boot-on;
};
};
};
};
&lcdif {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_lcdif>;
pinctrl-1 = <&pinctrl_lcdif>;
/* TODO: enable-gpio = <&extended_io 7 GPIO_ACTIVE_LOW>; */
lcd-supply = <&reg_epdpmic>;
lcd2-supply = <&reg_sdoe>;
display = <&display0>;
prevent-frying-pan;
status = "okay";
display0: display {
bits-per-pixel = <24>;
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <40000000>;
hactive = <334>;
vactive = <1405>;
hfront-porch = <1>;
hback-porch = <1>;
hsync-len = <1>;
vback-porch = <1>;
vfront-porch = <1>;
vsync-len = <1>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
};
};
};
&mu {
status = "disabled";
};
&sdma {
status = "okay";
};
&uart1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_uart1>;
pinctrl-1 = <&pinctrl_uart1>;
assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
status = "okay";
};
&uart6 {
/* Pinctrl is defined under 'otgcontrol' driver, which will switch the pinmuxing as required */
assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
status = "okay";
};
&usbotg1 {
extcon = <0 &otgcontrol>;
srp-disable;
hnp-disable;
dp-disable;
phy-charger-detection;
status = "okay";
};
&usbotg2 {
srp-disable;
hnp-disable;
asp-disable;
phy-charger-detection;
status = "okay";
};
&usdhc2 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "state_100mhz", "sleep";
pinctrl-0 = <&pinctrl_usdhc2>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
pinctrl-2 = <&pinctrl_usdhc2>;
mmc-pwrseq = <&wifi_pwrseq>;
vmmc-supply = <&reg_brcm>;
bus-width = <4>;
non-removable;
keep-power-in-suspend;
cap-power-off-card;
status = "okay";
brcmf: bcrmf@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
};
};
&usdhc3 {
pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
pinctrl-0 = <&pinctrl_usdhc3>;
pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
pinctrl-3 = <&pinctrl_usdhc3>;
assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
assigned-clock-rates = <400000000>;
bus-width = <8>;
non-removable;
status = "okay";
};
&wdog1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_wdog>;
pinctrl-1 = <&pinctrl_wdog>;
fsl,ext-reset-output;
};
&iomuxc_lpsr {
pinctrl_wacom: wacomgrp {
fsl,pins = <
/*MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 0x00000074 /* WACOM RESET */
MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x00000034 /* WACOM INT */
MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x00000074 /* PDCTB */
/*MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x00000014 /* FWE */
/*MX7D_PAD_LPSR_GPIO1_IO06__GPIO1_IO6 0x00000014 /* WACOM PWR ENABLE */
>;
};
pinctrl_digitizer_reg: digitizerreggrp {
fsl,pins = <
/* DIGITIZER_PWR_EN */
MX7D_PAD_LPSR_GPIO1_IO06__GPIO1_IO6 0x14
>;
};
pinctrl_max77818: max77818grp {
fsl,pins = <
MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x74
>;
};
};
&iomuxc {
pinctrl_bd71815: bd71815grp {
fsl,pins = <
MX7D_PAD_SAI1_RX_SYNC__GPIO6_IO16 0x59
>;
};
pinctrl_touch: touchgrp {
fsl,pins = <
/* CYTTSP interrupt */
MX7D_PAD_GPIO1_IO14__GPIO1_IO14 0x17000
/* CYTTSP reset */
MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x110b0
>;
};
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
>;
};
pinctrl_i2c2: i2c2grp {
fsl,pins = <
MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
>;
};
pinctrl_i2c3: i2c3grp {
fsl,pins = <
MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f
>;
};
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f
MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f
>;
};
pinctrl_lcdif: lcdifgrp {
fsl,pins = <
MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
MX7D_PAD_LCD_CLK__LCD_CLK 0x79
MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x79
MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x79
MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x79
MX7D_PAD_LCD_RESET__LCD_RESET 0x79
>;
};
pinctrl_uart1: uart1grp {
fsl,pins = <
MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX7D_PAD_SD2_CMD__SD2_CMD 0x59
MX7D_PAD_SD2_CLK__SD2_CLK 0x19
MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
>;
};
pinctrl_usdhc2_100mhz: usdhc2grp_100mhz {
fsl,pins = <
MX7D_PAD_SD2_CMD__SD2_CMD 0x5a
MX7D_PAD_SD2_CLK__SD2_CLK 0x1a
MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5a
MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5a
MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5a
MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5a
>;
};
pinctrl_usdhc2_200mhz: usdhc2grp_200mhz {
fsl,pins = <
MX7D_PAD_SD2_CMD__SD2_CMD 0x5b
MX7D_PAD_SD2_CLK__SD2_CLK 0x1b
MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5b
MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5b
MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5b
MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5b
>;
};
pinctrl_usdhc3: usdhc3grp {
fsl,pins = <
MX7D_PAD_SD3_CMD__SD3_CMD 0x59
MX7D_PAD_SD3_CLK__SD3_CLK 0x19
MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
MX7D_PAD_SD3_STROBE__SD3_STROBE 0x19
>;
};
pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
fsl,pins = <
MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1a
>;
};
pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
fsl,pins = <
MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1b
>;
};
pinctrl_brcm_reg: brcmreggrp {
fsl,pins = <
/* WIFI_PWR_EN */
MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x14
>;
};
pinctrl_wifi: wifigrp {
fsl,pins = <
/* WiFi Reg On */
MX7D_PAD_SD2_CD_B__GPIO5_IO9 0x00000014
/* WiFi Sleep 32k */
MX7D_PAD_SD1_WP__CCM_CLKO2 0x00000014
>;
};
pinctrl_epdpmic: epdpmicgrp {
fsl,pins = <
MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21 0x00000074
MX7D_PAD_ENET1_RGMII_TXC__GPIO7_IO11 0x00000014
>;
};
pinctrl_wdog: wdoggrp {
fsl,pins = <
MX7D_PAD_ENET1_COL__WDOG1_WDOG_ANY 0x74
>;
};
pinctrl_one_wire_gpio: one_wire_gpio_grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x00000004
MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x00000004
>;
};
pinctrl_one_wire_uart6_tx: one_wire_uart6_tx_grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x00000004
MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x00000004
>;
};
pinctrl_one_wire_uart6_rx: one_wire_uart6_rx_grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x00000004
MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x00000004
>;
};
pinctrl_touch_reg: touchreggrp {
fsl,pins = <
/* TOUCH_PWR_EN */
MX7D_PAD_GPIO1_IO11__GPIO1_IO11 0x14
>;
};
pinctrl_sdoe_reg: sdoereggrp {
fsl,pins = <
MX7D_PAD_LCD_DATA22__GPIO3_IO27 0x74
>;
};
pinctrl_gdoe_reg: gdoereggrp {
fsl,pins = <
MX7D_PAD_LCD_DATA16__GPIO3_IO21 0x74
>;
};
pinctrl_chg_stat: chg_stat_grp {
fsl,pins = <
/* CHGIN OK/CONNECTED */
MX7D_PAD_SAI2_TX_SYNC__GPIO6_IO19 0x00000074
/* WCIN (USB-C) OK/CONNECTED */
MX7D_PAD_SAI2_TX_BCLK__GPIO6_IO20 0x00000074
>;
};
};