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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/mxs/imx28-eukrea-mbmx28lc.dtsi

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 Eukréa Electromatique <eric@eukrea.com>
  4  * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
  5  */
  6 
  7 #include <dt-bindings/input/input.h>
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include "imx28.dtsi"
 10 
 11 / {
 12         model = "Eukrea Electromatique MBMX28LC";
 13         compatible = "eukrea,mbmx28lc", "fsl,imx28";
 14 
 15         backlight {
 16                 compatible = "pwm-backlight";
 17                 pwms = <&pwm 4 1000000 0>;
 18                 brightness-levels = <0 25 50 75 100 125 150 175 200 225 255>;
 19                 default-brightness-level = <10>;
 20         };
 21 
 22         gpio-keys-0 {
 23                 compatible = "gpio-keys";
 24                 pinctrl-names = "default";
 25                 pinctrl-0 = <&gpio_button_sw3_pins_mbmx28lc>;
 26 
 27                 switch-sw3 {
 28                         label = "SW3";
 29                         gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
 30                         linux,code = <BTN_MISC>;
 31                         wakeup-source;
 32                 };
 33         };
 34 
 35         gpio-keys-1 {
 36                 compatible = "gpio-keys";
 37                 pinctrl-names = "default";
 38                 pinctrl-0 = <&gpio_button_sw4_pins_mbmx28lc>;
 39 
 40                 switch-sw4 {
 41                         label = "SW4";
 42                         gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
 43                         linux,code = <BTN_MISC>;
 44                         wakeup-source;
 45                 };
 46         };
 47 
 48         led-d6 {
 49                 compatible = "gpio-leds";
 50                 pinctrl-names = "default";
 51                 pinctrl-0 = <&led_d6_pins_mbmx28lc>;
 52 
 53                 led1 {
 54                         label = "d6";
 55                         gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
 56                         linux,default-trigger = "heartbeat";
 57                 };
 58         };
 59 
 60         led-d7 {
 61                 compatible = "gpio-leds";
 62                 pinctrl-names = "default";
 63                 pinctrl-0 = <&led_d7_pins_mbmx28lc>;
 64 
 65                 led1 {
 66                         label = "d7";
 67                         gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
 68                         linux,default-trigger = "default-on";
 69                 };
 70         };
 71 
 72         reg_3p3v: regulator-0 {
 73                 compatible = "regulator-fixed";
 74                 regulator-name = "3P3V";
 75                 regulator-min-microvolt = <3300000>;
 76                 regulator-max-microvolt = <3300000>;
 77                 regulator-always-on;
 78         };
 79 
 80         reg_lcd_3v3: regulator-1 {
 81                 compatible = "regulator-fixed";
 82                 pinctrl-names = "default";
 83                 pinctrl-0 = <&reg_lcd_3v3_pins_mbmx28lc>;
 84                 regulator-name = "lcd-3v3";
 85                 regulator-min-microvolt = <3300000>;
 86                 regulator-max-microvolt = <3300000>;
 87                 gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
 88                 enable-active-high;
 89         };
 90 
 91         reg_usb0_vbus: regulator-2 {
 92                 compatible = "regulator-fixed";
 93                 pinctrl-names = "default";
 94                 pinctrl-0 = <&reg_usb0_vbus_pins_mbmx28lc>;
 95                 regulator-name = "usb0_vbus";
 96                 regulator-min-microvolt = <5000000>;
 97                 regulator-max-microvolt = <5000000>;
 98                 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 99                 enable-active-high;
100         };
101 
102         reg_usb1_vbus: regulator-3 {
103                 compatible = "regulator-fixed";
104                 pinctrl-names = "default";
105                 pinctrl-0 = <&reg_usb1_vbus_pins_mbmx28lc>;
106                 regulator-name = "usb1_vbus";
107                 regulator-min-microvolt = <5000000>;
108                 regulator-max-microvolt = <5000000>;
109                 gpio = <&gpio1 19 GPIO_ACTIVE_HIGH>;
110                 enable-active-high;
111         };
112 
113         sound {
114                 compatible = "fsl,imx28-mbmx28lc-sgtl5000",
115                              "fsl,mxs-audio-sgtl5000";
116                 model = "imx28-mbmx28lc-sgtl5000";
117                 saif-controllers = <&saif0 &saif1>;
118                 audio-codec = <&sgtl5000>;
119         };
120 };
121 
122 &duart {
123         pinctrl-names = "default";
124         pinctrl-0 = <&duart_4pins_a>;
125         status = "okay";
126 };
127 
128 &i2c0 {
129         pinctrl-names = "default";
130         pinctrl-0 = <&i2c0_pins_a>;
131         status = "okay";
132 
133         sgtl5000: codec@a {
134                 compatible = "fsl,sgtl5000";
135                 reg = <0x0a>;
136                 #sound-dai-cells = <0>;
137                 VDDA-supply = <&reg_3p3v>;
138                 VDDIO-supply = <&reg_3p3v>;
139                 clocks = <&saif0>;
140         };
141 };
142 
143 &lcdif {
144         pinctrl-names = "default";
145         pinctrl-0 = <&lcdif_18bit_pins_a &lcdif_pins_mbmx28lc>;
146         lcd-supply = <&reg_lcd_3v3>;
147         display = <&display0>;
148         status = "okay";
149 
150         display0: display0 {
151                 model = "43WVF1G-0";
152                 bits-per-pixel = <16>;
153                 bus-width = <18>;
154 
155                 display-timings {
156                         native-mode = <&timing0>;
157                         timing0: timing0 {
158                                 clock-frequency = <9072000>;
159                                 hactive = <480>;
160                                 vactive = <272>;
161                                 hback-porch = <10>;
162                                 hfront-porch = <5>;
163                                 vback-porch = <8>;
164                                 vfront-porch = <8>;
165                                 hsync-len = <40>;
166                                 vsync-len = <10>;
167                                 hsync-active = <0>;
168                                 vsync-active = <0>;
169                                 de-active = <1>;
170                                 pixelclk-active = <1>;
171                         };
172                 };
173         };
174 };
175 
176 &lradc {
177         fsl,lradc-touchscreen-wires = <4>;
178         status = "okay";
179 };
180 
181 &pinctrl {
182         gpio_button_sw3_pins_mbmx28lc: gpio-button-sw3-mbmx28lc@0 {
183                 reg = <0>;
184                 fsl,pinmux-ids = <
185                         MX28_PAD_LCD_D21__GPIO_1_21
186                 >;
187                 fsl,drive-strength = <MXS_DRIVE_4mA>;
188                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
189                 fsl,pull-up = <MXS_PULL_DISABLE>;
190         };
191 
192         gpio_button_sw4_pins_mbmx28lc: gpio-button-sw4-mbmx28lc@0 {
193                 reg = <0>;
194                 fsl,pinmux-ids = <
195                         MX28_PAD_LCD_D20__GPIO_1_20
196                 >;
197                 fsl,drive-strength = <MXS_DRIVE_4mA>;
198                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
199                 fsl,pull-up = <MXS_PULL_DISABLE>;
200         };
201 
202         lcdif_pins_mbmx28lc: lcdif-mbmx28lc@0 {
203                 reg = <0>;
204                 fsl,pinmux-ids = <
205                         MX28_PAD_LCD_VSYNC__LCD_VSYNC
206                         MX28_PAD_LCD_HSYNC__LCD_HSYNC
207                         MX28_PAD_LCD_DOTCLK__LCD_DOTCLK
208                         MX28_PAD_LCD_ENABLE__LCD_ENABLE
209                 >;
210                 fsl,drive-strength = <MXS_DRIVE_4mA>;
211                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
212                 fsl,pull-up = <MXS_PULL_DISABLE>;
213         };
214 
215         led_d6_pins_mbmx28lc: led-d6-mbmx28lc@0 {
216                 reg = <0>;
217                 fsl,pinmux-ids = <
218                         MX28_PAD_LCD_D23__GPIO_1_23
219                 >;
220                 fsl,drive-strength = <MXS_DRIVE_4mA>;
221                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
222                 fsl,pull-up = <MXS_PULL_DISABLE>;
223         };
224 
225         led_d7_pins_mbmx28lc: led-d7-mbmx28lc@0 {
226                 reg = <0>;
227                 fsl,pinmux-ids = <
228                         MX28_PAD_LCD_D22__GPIO_1_22
229                 >;
230                 fsl,drive-strength = <MXS_DRIVE_4mA>;
231                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
232                 fsl,pull-up = <MXS_PULL_DISABLE>;
233         };
234 
235         reg_lcd_3v3_pins_mbmx28lc: lcd-3v3-mbmx28lc@0 {
236                 reg = <0>;
237                 fsl,pinmux-ids = <
238                         MX28_PAD_LCD_RESET__GPIO_3_30
239                 >;
240                 fsl,drive-strength = <MXS_DRIVE_4mA>;
241                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
242                 fsl,pull-up = <MXS_PULL_DISABLE>;
243         };
244 
245         reg_usb0_vbus_pins_mbmx28lc: reg-usb0-vbus-mbmx28lc@0 {
246                 reg = <0>;
247                 fsl,pinmux-ids = <
248                         MX28_PAD_LCD_D18__GPIO_1_18
249                 >;
250                 fsl,drive-strength = <MXS_DRIVE_4mA>;
251                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
252                 fsl,pull-up = <MXS_PULL_DISABLE>;
253         };
254 
255         reg_usb1_vbus_pins_mbmx28lc: reg-usb1-vbus-mbmx28lc@0 {
256                 reg = <0>;
257                 fsl,pinmux-ids = <
258                         MX28_PAD_LCD_D19__GPIO_1_19
259                 >;
260                 fsl,drive-strength = <MXS_DRIVE_4mA>;
261                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
262                 fsl,pull-up = <MXS_PULL_DISABLE>;
263         };
264 };
265 
266 &pwm {
267         pinctrl-names = "default";
268         pinctrl-0 = <&pwm4_pins_a>;
269         status = "okay";
270 };
271 
272 &saif0 {
273         pinctrl-names = "default";
274         pinctrl-0 = <&saif0_pins_a>;
275         status = "okay";
276 };
277 
278 &saif1 {
279         pinctrl-names = "default";
280         pinctrl-0 = <&saif1_pins_a>;
281         fsl,saif-master = <&saif0>;
282         status = "okay";
283 };
284 
285 &ssp0 {
286         compatible = "fsl,imx28-mmc";
287         pinctrl-names = "default";
288         pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_cd_cfg &mmc0_sck_cfg>;
289         bus-width = <4>;
290         cd-inverted;
291         status = "okay";
292 };
293 
294 &usb0 {
295         disable-over-current;
296         vbus-supply = <&reg_usb0_vbus>;
297         status = "okay";
298         pinctrl-names = "default";
299         pinctrl-0 = <&usb0_id_pins_b>;
300 };
301 
302 &usb1 {
303         vbus-supply = <&reg_usb1_vbus>;
304         status = "okay";
305 };
306 
307 &usbphy0 {
308         status = "okay";
309 };
310 
311 &usbphy1 {
312         status = "okay";
313 };

~ [ 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