1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
7 #include "imx53-voipac-dmm-668.dtsi"
11 compatible = "fsl,imx53-voipac-sgtl5000",
12 "fsl,imx-audio-sgtl5000";
13 model = "imx53-voipac-sgtl5000";
14 ssi-controller = <&ssi2>;
15 audio-codec = <&sgtl5000>;
17 "Headphone Jack", "HP_OUT";
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&led_pin_gpio>;
29 gpios = <&gpio3 29 0>;
30 default-state = "off";
35 gpios = <&gpio2 31 0>;
36 default-state = "off";
42 pinctrl-names = "default";
43 pinctrl-0 = <&pinctrl_hog>;
49 MX53_PAD_EIM_D25__GPIO3_25 0x80000000
51 MX53_PAD_EIM_A19__GPIO2_19 0x80000000
55 led_pin_gpio: led_gpio {
57 MX53_PAD_EIM_D29__GPIO3_29 0x80000000
58 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
62 /* Keyboard controller */
63 pinctrl_kpp_1: kppgrp-1 {
65 MX53_PAD_GPIO_9__KPP_COL_6 0xe8
66 MX53_PAD_GPIO_4__KPP_COL_7 0xe8
67 MX53_PAD_KEY_COL2__KPP_COL_2 0xe8
68 MX53_PAD_KEY_COL3__KPP_COL_3 0xe8
69 MX53_PAD_KEY_COL4__KPP_COL_4 0xe8
70 MX53_PAD_GPIO_2__KPP_ROW_6 0xe0
71 MX53_PAD_GPIO_5__KPP_ROW_7 0xe0
72 MX53_PAD_KEY_ROW2__KPP_ROW_2 0xe0
73 MX53_PAD_KEY_ROW3__KPP_ROW_3 0xe0
74 MX53_PAD_KEY_ROW4__KPP_ROW_4 0xe0
78 pinctrl_audmux: audmuxgrp {
80 MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000
81 MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000
82 MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000
83 MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000
87 pinctrl_esdhc2: esdhc2grp {
89 MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5
90 MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5
91 MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5
92 MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5
93 MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5
94 MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5
98 pinctrl_i2c3: i2c3grp {
100 MX53_PAD_GPIO_3__I2C3_SCL 0xc0000000
101 MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_audmux>; /* SSI1 */
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_esdhc2>;
116 cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
117 wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
118 vmmc-supply = <®_3p3v>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_i2c3>;
128 compatible = "fsl,sgtl5000";
130 #sound-dai-cells = <0>;
131 VDDA-supply = <®_3p3v>;
132 VDDIO-supply = <®_3p3v>;
133 clocks = <&clks 150>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_kpp_1>;
141 0x0203003b /* KEY_F1 */
142 0x0603003c /* KEY_F2 */
143 0x0207003d /* KEY_F3 */
144 0x0607003e /* KEY_F4 */
146 keypad,num-rows = <8>;
147 keypad,num-columns = <1>;