~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/imx53-voipac-bsb.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 /*
  3  * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
  4  */
  5 
  6 /dts-v1/;
  7 #include "imx53-voipac-dmm-668.dtsi"
  8 
  9 / {
 10         sound {
 11                 compatible = "fsl,imx53-voipac-sgtl5000",
 12                              "fsl,imx-audio-sgtl5000";
 13                 model = "imx53-voipac-sgtl5000";
 14                 ssi-controller = <&ssi2>;
 15                 audio-codec = <&sgtl5000>;
 16                 audio-routing =
 17                         "Headphone Jack", "HP_OUT";
 18                 mux-int-port = <2>;
 19                 mux-ext-port = <5>;
 20         };
 21 
 22         leds {
 23                 compatible = "gpio-leds";
 24                 pinctrl-names = "default";
 25                 pinctrl-0 = <&led_pin_gpio>;
 26 
 27                 led1 {
 28                         label = "led-red";
 29                         gpios = <&gpio3 29 0>;
 30                         default-state = "off";
 31                 };
 32 
 33                 led2 {
 34                         label = "led-orange";
 35                         gpios = <&gpio2 31 0>;
 36                         default-state = "off";
 37                 };
 38         };
 39 };
 40 
 41 &iomuxc {
 42         pinctrl-names = "default";
 43         pinctrl-0 = <&pinctrl_hog>;
 44 
 45         imx53-voipac {
 46                 pinctrl_hog: hoggrp {
 47                         fsl,pins = <
 48                                 /* SD2_CD */
 49                                 MX53_PAD_EIM_D25__GPIO3_25      0x80000000
 50                                 /* SD2_WP */
 51                                 MX53_PAD_EIM_A19__GPIO2_19      0x80000000
 52                         >;
 53                 };
 54 
 55                 led_pin_gpio: led_gpio {
 56                         fsl,pins = <
 57                                 MX53_PAD_EIM_D29__GPIO3_29      0x80000000
 58                                 MX53_PAD_EIM_EB3__GPIO2_31      0x80000000
 59                         >;
 60                 };
 61 
 62                 /* Keyboard controller */
 63                 pinctrl_kpp_1: kppgrp-1 {
 64                         fsl,pins = <
 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
 75                         >;
 76                 };
 77 
 78                 pinctrl_audmux: audmuxgrp {
 79                         fsl,pins = <
 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
 84                         >;
 85                 };
 86 
 87                 pinctrl_esdhc2: esdhc2grp {
 88                         fsl,pins = <
 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
 95                         >;
 96                 };
 97 
 98                 pinctrl_i2c3: i2c3grp {
 99                         fsl,pins = <
100                                 MX53_PAD_GPIO_3__I2C3_SCL               0xc0000000
101                                 MX53_PAD_GPIO_6__I2C3_SDA               0xc0000000
102                         >;
103                 };
104         };
105 };
106 
107 &audmux {
108         pinctrl-names = "default";
109         pinctrl-0 = <&pinctrl_audmux>; /* SSI1 */
110         status = "okay";
111 };
112 
113 &esdhc2 {
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 = <&reg_3p3v>;
119         status = "okay";
120 };
121 
122 &i2c3 {
123         pinctrl-names = "default";
124         pinctrl-0 = <&pinctrl_i2c3>;
125         status = "okay";
126 
127         sgtl5000: codec@a {
128                 compatible = "fsl,sgtl5000";
129                 reg = <0x0a>;
130                 #sound-dai-cells = <0>;
131                 VDDA-supply = <&reg_3p3v>;
132                 VDDIO-supply = <&reg_3p3v>;
133                 clocks = <&clks 150>;
134         };
135 };
136 
137 &kpp {
138         pinctrl-names = "default";
139         pinctrl-0 = <&pinctrl_kpp_1>;
140         linux,keymap = <
141                         0x0203003b      /* KEY_F1 */
142                         0x0603003c      /* KEY_F2 */
143                         0x0207003d      /* KEY_F3 */
144                         0x0607003e      /* KEY_F4 */
145                         >;
146         keypad,num-rows = <8>;
147         keypad,num-columns = <1>;
148         status = "okay";
149 };
150 
151 &ssi2 {
152         status = "okay";
153 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php