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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/mxs/imx28-lwe.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 OR MIT
  2 /*
  3  * Copyright 2021
  4  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  5  */
  6 
  7 /dts-v1/;
  8 #include "imx28.dtsi"
  9 
 10 / {
 11         aliases {
 12                 spi2 = &ssp3;
 13         };
 14 
 15         chosen {
 16                 bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 ro rootwait console=ttyAMA0,115200 panic=1";
 17         };
 18 
 19         memory@40000000 {
 20                 reg = <0x40000000 0x08000000>;
 21                 device_type = "memory";
 22         };
 23 
 24         reg_3v3: regulator-reg-3v3 {
 25                 compatible = "regulator-fixed";
 26                 regulator-name = "3V3";
 27                 regulator-min-microvolt = <3300000>;
 28                 regulator-max-microvolt = <3300000>;
 29         };
 30 
 31         reg_usb_5v: regulator-reg-usb-5v {
 32                 compatible = "regulator-fixed";
 33                 regulator-name = "usb_vbus";
 34                 regulator-min-microvolt = <5000000>;
 35                 regulator-max-microvolt = <5000000>;
 36         };
 37 
 38         reg_fec_3v3: regulator-reg-fec-3v3 {
 39                 compatible = "regulator-fixed";
 40                 regulator-name = "fec-phy";
 41                 regulator-min-microvolt = <3300000>;
 42                 regulator-max-microvolt = <3300000>;
 43         };
 44 };
 45 
 46 &duart {
 47         pinctrl-names = "default";
 48         pinctrl-0 = <&duart_pins_a>;
 49         status = "okay";
 50 };
 51 
 52 &i2c0 {
 53         pinctrl-names = "default";
 54         pinctrl-0 = <&i2c0_pins_a>;
 55         status = "okay";
 56 };
 57 
 58 &spi3_pins_a {
 59         fsl,pinmux-ids = <
 60                 MX28_PAD_AUART2_RX__SSP3_D4
 61                 MX28_PAD_AUART2_TX__SSP3_D5
 62                 MX28_PAD_SSP3_SCK__SSP3_SCK
 63                 MX28_PAD_SSP3_MOSI__SSP3_CMD
 64                 MX28_PAD_SSP3_MISO__SSP3_D0
 65                 MX28_PAD_SSP3_SS0__SSP3_D3
 66                 MX28_PAD_AUART2_TX__GPIO_3_9
 67         >;
 68 };
 69 
 70 &ssp0 {
 71         compatible = "fsl,imx28-mmc";
 72         pinctrl-names = "default";
 73         pinctrl-0 = <&mmc0_8bit_pins_a>;
 74         bus-width = <8>;
 75         vmmc-supply = <&reg_3v3>;
 76         non-removable;
 77         status = "okay";
 78 };
 79 
 80 &ssp2 {
 81         compatible = "fsl,imx28-spi";
 82         pinctrl-names = "default";
 83         pinctrl-0 = <&spi2_pins_a>;
 84         status = "okay";
 85 };
 86 
 87 &ssp3 {
 88         compatible = "fsl,imx28-spi";
 89         pinctrl-names = "default";
 90         pinctrl-0 = <&spi3_pins_a>;
 91         status = "okay";
 92 
 93         flash@0 {
 94                 compatible = "jedec,spi-nor";
 95                 spi-max-frequency = <20000000>;
 96                 reg = <0>;
 97 
 98                 partitions {
 99                         compatible = "fixed-partitions";
100                         #address-cells = <1>;
101                         #size-cells = <1>;
102 
103                         partition@0 {
104                                 label = "u-boot";
105                                 reg = <0 0x80000>;
106                                 read-only;
107                         };
108 
109                         partition@80000 {
110                                 label = "env0";
111                                 reg = <0x80000 0x10000>;
112                         };
113 
114                         partition@90000 {
115                                 label = "env1";
116                                 reg = <0x90000 0x10000>;
117                         };
118 
119                         partition@a0000 {
120                                 label = "rescue";
121                                 reg = <0xa0000 0xf40000>;
122                         };
123 
124                         partition@fe0000 {
125                                 /* 1st sector for SPL boot img source data */
126                                 label = "spl-boot-data1";
127                                 reg = <0xfe0000 0x10000>;
128                         };
129 
130                         partition@ff0000 {
131                                 /* 2nd sector for SPL boot img source data */
132                                 label = "spl-boot-data2";
133                                 reg = <0xff0000 0x10000>;
134                         };
135                 };
136         };
137 };
138 
139 &usb0 {
140         vbus-supply = <&reg_usb_5v>;
141         pinctrl-names = "default";
142         pinctrl-0 = <&usb0_pins_b>, <&usb0_id_pins_a>;
143         dr_mode = "host";
144         status = "okay";
145 };
146 
147 &usbphy0 {
148         status = "okay";
149 };
150 
151 &usb1 {
152         vbus-supply = <&reg_usb_5v>;
153         pinctrl-names = "default";
154         pinctrl-0 = <&usb1_pins_b>;
155         dr_mode = "host";
156         status = "okay";
157 };
158 
159 &usbphy1 {
160         status = "okay";
161 };

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