1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2013 Rostislav Lisovy <lisovy@gmai 3 * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "imx53-voipac-dmm-668.dtsi" 7 #include "imx53-voipac-dmm-668.dtsi" 8 8 9 / { 9 / { 10 sound { 10 sound { 11 compatible = "fsl,imx53-voipac 11 compatible = "fsl,imx53-voipac-sgtl5000", 12 "fsl,imx-audio-sg 12 "fsl,imx-audio-sgtl5000"; 13 model = "imx53-voipac-sgtl5000 13 model = "imx53-voipac-sgtl5000"; 14 ssi-controller = <&ssi2>; 14 ssi-controller = <&ssi2>; 15 audio-codec = <&sgtl5000>; 15 audio-codec = <&sgtl5000>; 16 audio-routing = 16 audio-routing = 17 "Headphone Jack", "HP_ 17 "Headphone Jack", "HP_OUT"; 18 mux-int-port = <2>; 18 mux-int-port = <2>; 19 mux-ext-port = <5>; 19 mux-ext-port = <5>; 20 }; 20 }; 21 21 22 leds { 22 leds { 23 compatible = "gpio-leds"; 23 compatible = "gpio-leds"; 24 pinctrl-names = "default"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&led_pin_gpio>; 25 pinctrl-0 = <&led_pin_gpio>; 26 26 27 led1 { 27 led1 { 28 label = "led-red"; 28 label = "led-red"; 29 gpios = <&gpio3 29 0>; 29 gpios = <&gpio3 29 0>; 30 default-state = "off"; 30 default-state = "off"; 31 }; 31 }; 32 32 33 led2 { 33 led2 { 34 label = "led-orange"; 34 label = "led-orange"; 35 gpios = <&gpio2 31 0>; 35 gpios = <&gpio2 31 0>; 36 default-state = "off"; 36 default-state = "off"; 37 }; 37 }; 38 }; 38 }; 39 }; 39 }; 40 40 41 &iomuxc { 41 &iomuxc { 42 pinctrl-names = "default"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_hog>; 43 pinctrl-0 = <&pinctrl_hog>; 44 44 45 imx53-voipac { 45 imx53-voipac { 46 pinctrl_hog: hoggrp { 46 pinctrl_hog: hoggrp { 47 fsl,pins = < 47 fsl,pins = < 48 /* SD2_CD */ 48 /* SD2_CD */ 49 MX53_PAD_EIM_D 49 MX53_PAD_EIM_D25__GPIO3_25 0x80000000 50 /* SD2_WP */ 50 /* SD2_WP */ 51 MX53_PAD_EIM_A 51 MX53_PAD_EIM_A19__GPIO2_19 0x80000000 52 >; 52 >; 53 }; 53 }; 54 54 55 led_pin_gpio: led_gpio { 55 led_pin_gpio: led_gpio { 56 fsl,pins = < 56 fsl,pins = < 57 MX53_PAD_EIM_D 57 MX53_PAD_EIM_D29__GPIO3_29 0x80000000 58 MX53_PAD_EIM_E 58 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000 59 >; 59 >; 60 }; 60 }; 61 61 62 /* Keyboard controller */ 62 /* Keyboard controller */ 63 pinctrl_kpp_1: kppgrp-1 { 63 pinctrl_kpp_1: kppgrp-1 { 64 fsl,pins = < 64 fsl,pins = < 65 MX53_PAD_GPIO_ 65 MX53_PAD_GPIO_9__KPP_COL_6 0xe8 66 MX53_PAD_GPIO_ 66 MX53_PAD_GPIO_4__KPP_COL_7 0xe8 67 MX53_PAD_KEY_C 67 MX53_PAD_KEY_COL2__KPP_COL_2 0xe8 68 MX53_PAD_KEY_C 68 MX53_PAD_KEY_COL3__KPP_COL_3 0xe8 69 MX53_PAD_KEY_C 69 MX53_PAD_KEY_COL4__KPP_COL_4 0xe8 70 MX53_PAD_GPIO_ 70 MX53_PAD_GPIO_2__KPP_ROW_6 0xe0 71 MX53_PAD_GPIO_ 71 MX53_PAD_GPIO_5__KPP_ROW_7 0xe0 72 MX53_PAD_KEY_R 72 MX53_PAD_KEY_ROW2__KPP_ROW_2 0xe0 73 MX53_PAD_KEY_R 73 MX53_PAD_KEY_ROW3__KPP_ROW_3 0xe0 74 MX53_PAD_KEY_R 74 MX53_PAD_KEY_ROW4__KPP_ROW_4 0xe0 75 >; 75 >; 76 }; 76 }; 77 77 78 pinctrl_audmux: audmuxgrp { 78 pinctrl_audmux: audmuxgrp { 79 fsl,pins = < 79 fsl,pins = < 80 MX53_PAD_KEY_C 80 MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC 0x80000000 81 MX53_PAD_KEY_R 81 MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD 0x80000000 82 MX53_PAD_KEY_C 82 MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS 0x80000000 83 MX53_PAD_KEY_R 83 MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD 0x80000000 84 >; 84 >; 85 }; 85 }; 86 86 87 pinctrl_esdhc2: esdhc2grp { 87 pinctrl_esdhc2: esdhc2grp { 88 fsl,pins = < 88 fsl,pins = < 89 MX53_PAD_SD2_C 89 MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 90 MX53_PAD_SD2_C 90 MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 91 MX53_PAD_SD2_D 91 MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 92 MX53_PAD_SD2_D 92 MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 93 MX53_PAD_SD2_D 93 MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 94 MX53_PAD_SD2_D 94 MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 95 >; 95 >; 96 }; 96 }; 97 97 98 pinctrl_i2c3: i2c3grp { 98 pinctrl_i2c3: i2c3grp { 99 fsl,pins = < 99 fsl,pins = < 100 MX53_PAD_GPIO_ 100 MX53_PAD_GPIO_3__I2C3_SCL 0xc0000000 101 MX53_PAD_GPIO_ 101 MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 102 >; 102 >; 103 }; 103 }; 104 }; 104 }; 105 }; 105 }; 106 106 107 &audmux { 107 &audmux { 108 pinctrl-names = "default"; 108 pinctrl-names = "default"; 109 pinctrl-0 = <&pinctrl_audmux>; /* SSI1 109 pinctrl-0 = <&pinctrl_audmux>; /* SSI1 */ 110 status = "okay"; 110 status = "okay"; 111 }; 111 }; 112 112 113 &esdhc2 { 113 &esdhc2 { 114 pinctrl-names = "default"; 114 pinctrl-names = "default"; 115 pinctrl-0 = <&pinctrl_esdhc2>; 115 pinctrl-0 = <&pinctrl_esdhc2>; 116 cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW> 116 cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; 117 wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH 117 wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; 118 vmmc-supply = <®_3p3v>; 118 vmmc-supply = <®_3p3v>; 119 status = "okay"; 119 status = "okay"; 120 }; 120 }; 121 121 122 &i2c3 { 122 &i2c3 { 123 pinctrl-names = "default"; 123 pinctrl-names = "default"; 124 pinctrl-0 = <&pinctrl_i2c3>; 124 pinctrl-0 = <&pinctrl_i2c3>; 125 status = "okay"; 125 status = "okay"; 126 126 127 sgtl5000: codec@a { 127 sgtl5000: codec@a { 128 compatible = "fsl,sgtl5000"; 128 compatible = "fsl,sgtl5000"; 129 reg = <0x0a>; 129 reg = <0x0a>; 130 #sound-dai-cells = <0>; 130 #sound-dai-cells = <0>; 131 VDDA-supply = <®_3p3v>; 131 VDDA-supply = <®_3p3v>; 132 VDDIO-supply = <®_3p3v>; 132 VDDIO-supply = <®_3p3v>; 133 clocks = <&clks 150>; 133 clocks = <&clks 150>; 134 }; 134 }; 135 }; 135 }; 136 136 137 &kpp { 137 &kpp { 138 pinctrl-names = "default"; 138 pinctrl-names = "default"; 139 pinctrl-0 = <&pinctrl_kpp_1>; 139 pinctrl-0 = <&pinctrl_kpp_1>; 140 linux,keymap = < 140 linux,keymap = < 141 0x0203003b /* KEY 141 0x0203003b /* KEY_F1 */ 142 0x0603003c /* KEY 142 0x0603003c /* KEY_F2 */ 143 0x0207003d /* KEY 143 0x0207003d /* KEY_F3 */ 144 0x0607003e /* KEY 144 0x0607003e /* KEY_F4 */ 145 >; 145 >; 146 keypad,num-rows = <8>; 146 keypad,num-rows = <8>; 147 keypad,num-columns = <1>; 147 keypad,num-columns = <1>; 148 status = "okay"; 148 status = "okay"; 149 }; 149 }; 150 150 151 &ssi2 { 151 &ssi2 { 152 status = "okay"; 152 status = "okay"; 153 }; 153 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.