1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
8 #include "imx53-tqma53.dtsi"
9 #include <dt-bindings/input/input.h>
13 compatible = "pwm-beeper";
14 pinctrl-names = "default";
15 pinctrl-0 = <&pinctrl_buzzer>;
16 pwms = <&pwm1 0 500000>;
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpiobuttons>;
26 linux,code = <KEY_F6>;
27 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
31 label = "PowerFailInterrupt";
32 linux,code = <KEY_F7>;
33 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pinctrl_leds>;
44 gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
45 linux,default-trigger = "gpio";
46 default-state = "off";
51 gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "gpio";
53 default-state = "off";
58 gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;
59 linux,default-trigger = "heartbeat";
63 reg_3v3: regulator-3v3 {
64 compatible = "regulator-fixed";
65 regulator-name = "3V3";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
84 compatible = "nxp,pcf8574";
92 compatible = "nxp,pcf8563";
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_kp_common>;
102 pinctrl_buzzer: buzzergrp {
104 MX53_PAD_SD1_DATA3__PWM1_PWMO 0x1e4
108 pinctrl_gpiobuttons: gpiobuttonsgrp {
110 MX53_PAD_EIM_RW__GPIO2_26 0x1e4
111 MX53_PAD_EIM_D22__GPIO3_22 0x1e4
115 pinctrl_kp_common: kpcommongrp {
117 MX53_PAD_EIM_CS0__GPIO2_23 0x1e4
118 MX53_PAD_GPIO_19__GPIO4_5 0x1e4
119 MX53_PAD_PATA_DATA6__GPIO2_6 0x1e4
120 MX53_PAD_PATA_DATA7__GPIO2_7 0xe0
121 MX53_PAD_CSI0_DAT14__GPIO6_0 0x1e4
122 MX53_PAD_CSI0_DAT16__GPIO6_2 0x1e4
123 MX53_PAD_CSI0_DAT18__GPIO6_4 0x1e4
124 MX53_PAD_EIM_D17__GPIO3_17 0x1e4
125 MX53_PAD_EIM_D18__GPIO3_18 0x1e4
126 MX53_PAD_EIM_D21__GPIO3_21 0x1e4
127 MX53_PAD_EIM_D29__GPIO3_29 0x1e4
128 MX53_PAD_EIM_DA11__GPIO3_11 0x1e4
129 MX53_PAD_EIM_DA13__GPIO3_13 0x1e4
130 MX53_PAD_EIM_DA14__GPIO3_14 0x1e4
131 MX53_PAD_SD1_DATA0__GPIO1_16 0x1e4
132 MX53_PAD_SD1_CMD__GPIO1_18 0x1e4
133 MX53_PAD_SD1_CLK__GPIO1_20 0x1e4
137 pinctrl_leds: ledgrp {
139 MX53_PAD_EIM_EB2__GPIO2_30 0x1d4
140 MX53_PAD_EIM_D28__GPIO3_28 0x1d4
141 MX53_PAD_EIM_WAIT__GPIO5_0 0x1d4
145 pinctrl_uart4: uart4grp {
147 MX53_PAD_CSI0_DAT12__UART4_TXD_MUX 0x1e4
148 MX53_PAD_CSI0_DAT13__UART4_RXD_MUX 0x1e4
156 MX53_PAD_EIM_D23__GPIO3_23 0x1e4
157 MX53_PAD_EIM_EB3__GPIO2_31 0x1e4
158 MX53_PAD_EIM_D24__GPIO3_24 0x1e4
159 MX53_PAD_EIM_D25__GPIO3_25 0x1e4
160 MX53_PAD_EIM_D19__GPIO3_19 0x1e4
161 MX53_PAD_EIM_D20__GPIO3_20 0x1e4
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_uart4>;