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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/lpc/lpc4337-ciaa.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/nxp/lpc/lpc4337-ciaa.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/nxp/lpc/lpc4337-ciaa.dts (Architecture sparc64)


  1 /*                                                  1 /*
  2  * CIAA NXP LPC4337 (http://www.proyecto-ciaa.      2  * CIAA NXP LPC4337 (http://www.proyecto-ciaa.com.ar)
  3  *                                                  3  *
  4  * Copyright (C) 2015 VanguardiaSur - www.vang      4  * Copyright (C) 2015 VanguardiaSur - www.vanguardiasur.com.ar
  5  *                                                  5  *
  6  * This code is released using a dual license       6  * This code is released using a dual license strategy: BSD/GPL
  7  * You can choose the licence that better fits      7  * You can choose the licence that better fits your requirements.
  8  *                                                  8  *
  9  * Released under the terms of 3-clause BSD Li      9  * Released under the terms of 3-clause BSD License
 10  * Released under the terms of GNU General Pub     10  * Released under the terms of GNU General Public License Version 2.0
 11  */                                                11  */
 12 /dts-v1/;                                          12 /dts-v1/;
 13                                                    13 
 14 #include "lpc18xx.dtsi"                            14 #include "lpc18xx.dtsi"
 15 #include "lpc4357.dtsi"                            15 #include "lpc4357.dtsi"
 16                                                    16 
 17 #include "dt-bindings/gpio/gpio.h"                 17 #include "dt-bindings/gpio/gpio.h"
 18                                                    18 
 19 / {                                                19 / {
 20         model = "CIAA NXP LPC4337";                20         model = "CIAA NXP LPC4337";
 21         compatible = "ciaa,lpc4337", "nxp,lpc4     21         compatible = "ciaa,lpc4337", "nxp,lpc4337", "nxp,lpc4350";
 22                                                    22 
 23         aliases {                                  23         aliases {
 24                 serial0 = &uart2;                  24                 serial0 = &uart2;
 25                 serial1 = &uart3;                  25                 serial1 = &uart3;
 26         };                                         26         };
 27                                                    27 
 28         chosen {                                   28         chosen {
 29                 bootargs = "console=ttyS0,1152     29                 bootargs = "console=ttyS0,115200 earlyprintk";
 30                 stdout-path = &uart2;              30                 stdout-path = &uart2;
 31         };                                         31         };
 32                                                    32 
 33         memory@28000000 {                          33         memory@28000000 {
 34                 device_type = "memory";            34                 device_type = "memory";
 35                 reg = <0x28000000 0x0800000>;      35                 reg = <0x28000000 0x0800000>; /* 8 MB */
 36         };                                         36         };
 37 };                                                 37 };
 38                                                    38 
 39 &pinctrl {                                         39 &pinctrl {
 40         enet_rmii_pins: enet-rmii-pins {           40         enet_rmii_pins: enet-rmii-pins {
 41                 enet_rmii_rxd_cfg {                41                 enet_rmii_rxd_cfg {
 42                         pins = "p1_15", "p0_0"     42                         pins = "p1_15", "p0_0";
 43                         function = "enet";         43                         function = "enet";
 44                         slew-rate = <1>;           44                         slew-rate = <1>;
 45                         bias-disable;              45                         bias-disable;
 46                         input-enable;              46                         input-enable;
 47                         input-schmitt-disable;     47                         input-schmitt-disable;
 48                 };                                 48                 };
 49                                                    49 
 50                 enet_rmii_txd_cfg {                50                 enet_rmii_txd_cfg {
 51                         pins = "p1_18", "p1_20     51                         pins = "p1_18", "p1_20";
 52                         function = "enet";         52                         function = "enet";
 53                         slew-rate = <1>;           53                         slew-rate = <1>;
 54                         bias-disable;              54                         bias-disable;
 55                         input-enable;              55                         input-enable;
 56                         input-schmitt-disable;     56                         input-schmitt-disable;
 57                 };                                 57                 };
 58                                                    58 
 59                 enet_rmii_rx_dv_cfg {              59                 enet_rmii_rx_dv_cfg {
 60                         pins = "p1_16";            60                         pins = "p1_16";
 61                         function = "enet";         61                         function = "enet";
 62                         bias-disable;              62                         bias-disable;
 63                         input-enable;              63                         input-enable;
 64                         input-schmitt-disable;     64                         input-schmitt-disable;
 65                 };                                 65                 };
 66                                                    66 
 67                 enet_rmii_tx_en_cfg {              67                 enet_rmii_tx_en_cfg {
 68                         pins = "p0_1";             68                         pins = "p0_1";
 69                         function = "enet";         69                         function = "enet";
 70                         bias-disable;              70                         bias-disable;
 71                         input-enable;              71                         input-enable;
 72                         input-schmitt-disable;     72                         input-schmitt-disable;
 73                 };                                 73                 };
 74                                                    74 
 75                 enet_ref_clk_cfg {                 75                 enet_ref_clk_cfg {
 76                         pins = "p1_19";            76                         pins = "p1_19";
 77                         function = "enet";         77                         function = "enet";
 78                         slew-rate = <1>;           78                         slew-rate = <1>;
 79                         bias-disable;              79                         bias-disable;
 80                         input-enable;              80                         input-enable;
 81                         input-schmitt-disable;     81                         input-schmitt-disable;
 82                 };                                 82                 };
 83                                                    83 
 84                 enet_mdio_cfg {                    84                 enet_mdio_cfg {
 85                         pins = "p1_17";            85                         pins = "p1_17";
 86                         function = "enet";         86                         function = "enet";
 87                         bias-disable;              87                         bias-disable;
 88                         input-enable;              88                         input-enable;
 89                         input-schmitt-disable;     89                         input-schmitt-disable;
 90                 };                                 90                 };
 91                                                    91 
 92                 enet_mdc_cfg {                     92                 enet_mdc_cfg {
 93                         pins = "p7_7";             93                         pins = "p7_7";
 94                         function = "enet";         94                         function = "enet";
 95                         slew-rate = <1>;           95                         slew-rate = <1>;
 96                         bias-disable;              96                         bias-disable;
 97                         input-enable;              97                         input-enable;
 98                         input-schmitt-disable;     98                         input-schmitt-disable;
 99                 };                                 99                 };
100         };                                        100         };
101                                                   101 
102         i2c0_pins: i2c0-pins {                    102         i2c0_pins: i2c0-pins {
103                 i2c0_pins_cfg {                   103                 i2c0_pins_cfg {
104                         pins = "i2c0_scl", "i2    104                         pins = "i2c0_scl", "i2c0_sda";
105                         function = "i2c0";        105                         function = "i2c0";
106                         input-enable;             106                         input-enable;
107                 };                                107                 };
108         };                                        108         };
109                                                   109 
110         ssp_pins: ssp-pins {                      110         ssp_pins: ssp-pins {
111                 ssp1_cs {                         111                 ssp1_cs {
112                         pins = "p6_7";            112                         pins = "p6_7";
113                         function = "gpio";        113                         function = "gpio";
114                         bias-pull-up;             114                         bias-pull-up;
115                         bias-disable;             115                         bias-disable;
116                 };                                116                 };
117                                                   117 
118                 ssp1_miso_mosi {                  118                 ssp1_miso_mosi {
119                         pins = "p1_3", "p1_4";    119                         pins = "p1_3", "p1_4";
120                         function = "ssp1";        120                         function = "ssp1";
121                         slew-rate = <1>;          121                         slew-rate = <1>;
122                         bias-pull-down;           122                         bias-pull-down;
123                         input-enable;             123                         input-enable;
124                         input-schmitt-disable;    124                         input-schmitt-disable;
125                 };                                125                 };
126                                                   126 
127                 ssp1_sck {                        127                 ssp1_sck {
128                         pins = "pf_4";            128                         pins = "pf_4";
129                         function = "ssp1";        129                         function = "ssp1";
130                         slew-rate = <1>;          130                         slew-rate = <1>;
131                         bias-disable;             131                         bias-disable;
132                 };                                132                 };
133         };                                        133         };
134                                                   134 
135         uart2_pins: uart2-pins {                  135         uart2_pins: uart2-pins {
136                 uart2_rx_cfg {                    136                 uart2_rx_cfg {
137                         pins = "p7_2";            137                         pins = "p7_2";
138                         function = "uart2";       138                         function = "uart2";
139                         bias-disable;             139                         bias-disable;
140                         input-enable;             140                         input-enable;
141                 };                                141                 };
142                                                   142 
143                 uart2_tx_cfg {                    143                 uart2_tx_cfg {
144                         pins = "p7_1";            144                         pins = "p7_1";
145                         function = "uart2";       145                         function = "uart2";
146                         bias-disable;             146                         bias-disable;
147                 };                                147                 };
148         };                                        148         };
149                                                   149 
150         uart3_pins: uart3-pins {                  150         uart3_pins: uart3-pins {
151                 uart3_rx_cfg {                    151                 uart3_rx_cfg {
152                         pins = "p2_4";            152                         pins = "p2_4";
153                         function = "uart3";       153                         function = "uart3";
154                         bias-disable;             154                         bias-disable;
155                         input-enable;             155                         input-enable;
156                 };                                156                 };
157                                                   157 
158                 uart3_tx_cfg {                    158                 uart3_tx_cfg {
159                         pins = "p2_3";            159                         pins = "p2_3";
160                         function = "uart3";       160                         function = "uart3";
161                         bias-disable;             161                         bias-disable;
162                 };                                162                 };
163         };                                        163         };
164 };                                                164 };
165                                                   165 
166 &enet_tx_clk {                                    166 &enet_tx_clk {
167         clock-frequency = <50000000>;             167         clock-frequency = <50000000>;
168 };                                                168 };
169                                                   169 
170 &i2c0 {                                           170 &i2c0 {
171         status = "okay";                          171         status = "okay";
172         pinctrl-names = "default";                172         pinctrl-names = "default";
173         pinctrl-0 = <&i2c0_pins>;                 173         pinctrl-0 = <&i2c0_pins>;
174         clock-frequency = <400000>;               174         clock-frequency = <400000>;
175                                                   175 
176         eeprom@50 {                               176         eeprom@50 {
177                 compatible = "microchip,24c512    177                 compatible = "microchip,24c512", "atmel,24c512";
178                 reg = <0x50>;                     178                 reg = <0x50>;
179         };                                        179         };
180                                                   180 
181         eeprom@51 {                               181         eeprom@51 {
182                 compatible = "microchip,24c02"    182                 compatible = "microchip,24c02", "atmel,24c02";
183                 reg = <0x51>;                     183                 reg = <0x51>;
184         };                                        184         };
185                                                   185 
186         eeprom@54 {                               186         eeprom@54 {
187                 compatible = "microchip,24c512    187                 compatible = "microchip,24c512", "atmel,24c512";
188                 reg = <0x54>;                     188                 reg = <0x54>;
189         };                                        189         };
190 };                                                190 };
191                                                   191 
192 &mac {                                            192 &mac {
193         status = "okay";                          193         status = "okay";
194         phy-mode = "rmii";                        194         phy-mode = "rmii";
195         pinctrl-names = "default";                195         pinctrl-names = "default";
196         pinctrl-0 = <&enet_rmii_pins>;            196         pinctrl-0 = <&enet_rmii_pins>;
197 };                                                197 };
198                                                   198 
199 &sct_pwm {                                        199 &sct_pwm {
200         status = "okay";                          200         status = "okay";
201 };                                                201 };
202                                                   202 
203 &ssp1 {                                           203 &ssp1 {
204         status = "okay";                          204         status = "okay";
205         pinctrl-names = "default";                205         pinctrl-names = "default";
206         pinctrl-0 = <&ssp_pins>;                  206         pinctrl-0 = <&ssp_pins>;
207         cs-gpios = <&gpio LPC_GPIO(5,15) GPIO_    207         cs-gpios = <&gpio LPC_GPIO(5,15) GPIO_ACTIVE_HIGH>;
208         num-cs = <1>;                             208         num-cs = <1>;
209 };                                                209 };
210                                                   210 
211 &uart2 {                                          211 &uart2 {
212         status = "okay";                          212         status = "okay";
213         pinctrl-names = "default";                213         pinctrl-names = "default";
214         pinctrl-0 = <&uart2_pins>;                214         pinctrl-0 = <&uart2_pins>;
215 };                                                215 };
216                                                   216 
217 &uart3 {                                          217 &uart3 {
218         status = "okay";                          218         status = "okay";
219         pinctrl-names = "default";                219         pinctrl-names = "default";
220         pinctrl-0 = <&uart3_pins>;                220         pinctrl-0 = <&uart3_pins>;
221 };                                                221 };
                                                      

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