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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/riscv/microchip/mpfs-icicle-kit.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/riscv/microchip/mpfs-icicle-kit.dts (Architecture i386) and /scripts/dtc/include-prefixes/riscv/microchip/mpfs-icicle-kit.dts (Architecture ppc)


  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)        1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /* Copyright (c) 2020-2021 Microchip Technolog      2 /* Copyright (c) 2020-2021 Microchip Technology Inc */
  3                                                     3 
  4 /dts-v1/;                                           4 /dts-v1/;
  5                                                     5 
  6 #include "mpfs.dtsi"                                6 #include "mpfs.dtsi"
  7 #include "mpfs-icicle-kit-fabric.dtsi"              7 #include "mpfs-icicle-kit-fabric.dtsi"
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/leds/common.h>                9 #include <dt-bindings/leds/common.h>
 10                                                    10 
 11 / {                                                11 / {
 12         model = "Microchip PolarFire-SoC Icicl     12         model = "Microchip PolarFire-SoC Icicle Kit";
 13         compatible = "microchip,mpfs-icicle-re     13         compatible = "microchip,mpfs-icicle-reference-rtlv2210", "microchip,mpfs-icicle-kit",
 14                      "microchip,mpfs";             14                      "microchip,mpfs";
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 ethernet0 = &mac1;                 17                 ethernet0 = &mac1;
 18                 serial0 = &mmuart0;                18                 serial0 = &mmuart0;
 19                 serial1 = &mmuart1;                19                 serial1 = &mmuart1;
 20                 serial2 = &mmuart2;                20                 serial2 = &mmuart2;
 21                 serial3 = &mmuart3;                21                 serial3 = &mmuart3;
 22                 serial4 = &mmuart4;                22                 serial4 = &mmuart4;
 23         };                                         23         };
 24                                                    24 
 25         chosen {                                   25         chosen {
 26                 stdout-path = "serial1:115200n     26                 stdout-path = "serial1:115200n8";
 27         };                                         27         };
 28                                                    28 
 29         leds {                                     29         leds {
 30                 compatible = "gpio-leds";          30                 compatible = "gpio-leds";
 31                                                    31 
 32                 led-1 {                            32                 led-1 {
 33                         gpios = <&gpio2 16 GPI     33                         gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
 34                         color = <LED_COLOR_ID_     34                         color = <LED_COLOR_ID_RED>;
 35                         label = "led1";            35                         label = "led1";
 36                 };                                 36                 };
 37                                                    37 
 38                 led-2 {                            38                 led-2 {
 39                         gpios = <&gpio2 17 GPI     39                         gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
 40                         color = <LED_COLOR_ID_     40                         color = <LED_COLOR_ID_RED>;
 41                         label = "led2";            41                         label = "led2";
 42                 };                                 42                 };
 43                                                    43 
 44                 led-3 {                            44                 led-3 {
 45                         gpios = <&gpio2 18 GPI     45                         gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
 46                         color = <LED_COLOR_ID_     46                         color = <LED_COLOR_ID_AMBER>;
 47                         label = "led3";            47                         label = "led3";
 48                 };                                 48                 };
 49                                                    49 
 50                 led-4 {                            50                 led-4 {
 51                         gpios = <&gpio2 19 GPI     51                         gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
 52                         color = <LED_COLOR_ID_     52                         color = <LED_COLOR_ID_AMBER>;
 53                         label = "led4";            53                         label = "led4";
 54                 };                                 54                 };
 55         };                                         55         };
 56                                                    56 
 57         ddrc_cache_lo: memory@80000000 {           57         ddrc_cache_lo: memory@80000000 {
 58                 device_type = "memory";            58                 device_type = "memory";
 59                 reg = <0x0 0x80000000 0x0 0x40     59                 reg = <0x0 0x80000000 0x0 0x40000000>;
 60                 status = "okay";                   60                 status = "okay";
 61         };                                         61         };
 62                                                    62 
 63         ddrc_cache_hi: memory@1040000000 {         63         ddrc_cache_hi: memory@1040000000 {
 64                 device_type = "memory";            64                 device_type = "memory";
 65                 reg = <0x10 0x40000000 0x0 0x4     65                 reg = <0x10 0x40000000 0x0 0x40000000>;
 66                 status = "okay";                   66                 status = "okay";
 67         };                                         67         };
 68                                                    68 
 69         reserved-memory {                          69         reserved-memory {
 70                 #address-cells = <2>;              70                 #address-cells = <2>;
 71                 #size-cells = <2>;                 71                 #size-cells = <2>;
 72                 ranges;                            72                 ranges;
 73                                                    73 
 74                 hss_payload: region@BFC00000 {     74                 hss_payload: region@BFC00000 {
 75                         reg = <0x0 0xBFC00000      75                         reg = <0x0 0xBFC00000 0x0 0x400000>;
 76                         no-map;                    76                         no-map;
 77                 };                                 77                 };
 78         };                                         78         };
 79 };                                                 79 };
 80                                                    80 
 81 &core_pwm0 {                                       81 &core_pwm0 {
 82         status = "okay";                           82         status = "okay";
 83 };                                                 83 };
 84                                                    84 
 85 &gpio2 {                                           85 &gpio2 {
 86         interrupts = <53>, <53>, <53>, <53>,       86         interrupts = <53>, <53>, <53>, <53>,
 87                      <53>, <53>, <53>, <53>,       87                      <53>, <53>, <53>, <53>,
 88                      <53>, <53>, <53>, <53>,       88                      <53>, <53>, <53>, <53>,
 89                      <53>, <53>, <53>, <53>,       89                      <53>, <53>, <53>, <53>,
 90                      <53>, <53>, <53>, <53>,       90                      <53>, <53>, <53>, <53>,
 91                      <53>, <53>, <53>, <53>,       91                      <53>, <53>, <53>, <53>,
 92                      <53>, <53>, <53>, <53>,       92                      <53>, <53>, <53>, <53>,
 93                      <53>, <53>, <53>, <53>;       93                      <53>, <53>, <53>, <53>;
 94         status = "okay";                           94         status = "okay";
 95 };                                                 95 };
 96                                                    96 
 97 &i2c0 {                                            97 &i2c0 {
 98         status = "okay";                           98         status = "okay";
 99 };                                                 99 };
100                                                   100 
101 &i2c1 {                                           101 &i2c1 {
102         status = "okay";                          102         status = "okay";
103                                                   103 
104         power-monitor@10 {                        104         power-monitor@10 {
105                 compatible = "microchip,pac193    105                 compatible = "microchip,pac1934";
106                 reg = <0x10>;                     106                 reg = <0x10>;
107                                                   107 
108                 #address-cells = <1>;             108                 #address-cells = <1>;
109                 #size-cells = <0>;                109                 #size-cells = <0>;
110                                                   110 
111                 channel@1 {                       111                 channel@1 {
112                         reg = <0x1>;              112                         reg = <0x1>;
113                         shunt-resistor-micro-o    113                         shunt-resistor-micro-ohms = <10000>;
114                         label = "VDDREG";         114                         label = "VDDREG";
115                 };                                115                 };
116                                                   116 
117                 channel@2 {                       117                 channel@2 {
118                         reg = <0x2>;              118                         reg = <0x2>;
119                         shunt-resistor-micro-o    119                         shunt-resistor-micro-ohms = <10000>;
120                         label = "VDDA25";         120                         label = "VDDA25";
121                 };                                121                 };
122                                                   122 
123                 channel@3 {                       123                 channel@3 {
124                         reg = <0x3>;              124                         reg = <0x3>;
125                         shunt-resistor-micro-o    125                         shunt-resistor-micro-ohms = <10000>;
126                         label = "VDD25";          126                         label = "VDD25";
127                 };                                127                 };
128                                                   128 
129                 channel@4 {                       129                 channel@4 {
130                         reg = <0x4>;              130                         reg = <0x4>;
131                         shunt-resistor-micro-o    131                         shunt-resistor-micro-ohms = <10000>;
132                         label = "VDDA_REG";       132                         label = "VDDA_REG";
133                 };                                133                 };
134         };                                        134         };
135 };                                                135 };
136                                                   136 
137 &i2c2 {                                           137 &i2c2 {
138         status = "okay";                          138         status = "okay";
139 };                                                139 };
140                                                   140 
141 &mac0 {                                           141 &mac0 {
142         phy-mode = "sgmii";                       142         phy-mode = "sgmii";
143         phy-handle = <&phy0>;                     143         phy-handle = <&phy0>;
144         status = "okay";                          144         status = "okay";
145 };                                                145 };
146                                                   146 
147 &mac1 {                                           147 &mac1 {
148         phy-mode = "sgmii";                       148         phy-mode = "sgmii";
149         phy-handle = <&phy1>;                     149         phy-handle = <&phy1>;
150         status = "okay";                          150         status = "okay";
151                                                   151 
152         phy1: ethernet-phy@9 {                    152         phy1: ethernet-phy@9 {
153                 reg = <9>;                        153                 reg = <9>;
154         };                                        154         };
155                                                   155 
156         phy0: ethernet-phy@8 {                    156         phy0: ethernet-phy@8 {
157                 reg = <8>;                        157                 reg = <8>;
158         };                                        158         };
159 };                                                159 };
160                                                   160 
161 &mbox {                                           161 &mbox {
162         status = "okay";                          162         status = "okay";
163 };                                                163 };
164                                                   164 
165 &mmc {                                            165 &mmc {
166         bus-width = <4>;                          166         bus-width = <4>;
167         disable-wp;                               167         disable-wp;
168         cap-sd-highspeed;                         168         cap-sd-highspeed;
169         cap-mmc-highspeed;                        169         cap-mmc-highspeed;
170         mmc-ddr-1_8v;                             170         mmc-ddr-1_8v;
171         mmc-hs200-1_8v;                           171         mmc-hs200-1_8v;
172         sd-uhs-sdr12;                             172         sd-uhs-sdr12;
173         sd-uhs-sdr25;                             173         sd-uhs-sdr25;
174         sd-uhs-sdr50;                             174         sd-uhs-sdr50;
175         sd-uhs-sdr104;                            175         sd-uhs-sdr104;
176         status = "okay";                          176         status = "okay";
177 };                                                177 };
178                                                   178 
179 &mmuart1 {                                        179 &mmuart1 {
180         status = "okay";                          180         status = "okay";
181 };                                                181 };
182                                                   182 
183 &mmuart2 {                                        183 &mmuart2 {
184         status = "okay";                          184         status = "okay";
185 };                                                185 };
186                                                   186 
187 &mmuart3 {                                        187 &mmuart3 {
188         status = "okay";                          188         status = "okay";
189 };                                                189 };
190                                                   190 
191 &mmuart4 {                                        191 &mmuart4 {
192         status = "okay";                          192         status = "okay";
193 };                                                193 };
194                                                   194 
195 &pcie {                                           195 &pcie {
196         status = "okay";                          196         status = "okay";
197 };                                                197 };
198                                                   198 
199 &qspi {                                           199 &qspi {
200         status = "okay";                          200         status = "okay";
201 };                                                201 };
202                                                   202 
203 &refclk {                                         203 &refclk {
204         clock-frequency = <125000000>;            204         clock-frequency = <125000000>;
205 };                                                205 };
206                                                   206 
207 &refclk_ccc {                                     207 &refclk_ccc {
208         clock-frequency = <50000000>;             208         clock-frequency = <50000000>;
209 };                                                209 };
210                                                   210 
211 &rtc {                                            211 &rtc {
212         status = "okay";                          212         status = "okay";
213 };                                                213 };
214                                                   214 
215 &spi0 {                                           215 &spi0 {
216         status = "okay";                          216         status = "okay";
217 };                                                217 };
218                                                   218 
219 &spi1 {                                           219 &spi1 {
220         status = "okay";                          220         status = "okay";
221 };                                                221 };
222                                                   222 
223 &syscontroller {                                  223 &syscontroller {
224         status = "okay";                          224         status = "okay";
225 };                                                225 };
226                                                   226 
227 &syscontroller_qspi {                             227 &syscontroller_qspi {
228         /*                                        228         /*
229          * The flash *is* there, but Icicle ki    229          * The flash *is* there, but Icicle kits that have engineering sample
230          * silicon (write?) access to this fla    230          * silicon (write?) access to this flash to non-functional. The system
231          * controller itself can actually acce    231          * controller itself can actually access it, but the MSS cannot write
232          * an image there. Instantiating a cor    232          * an image there. Instantiating a coreQSPI in the fabric & connecting
233          * it to the flash instead should work    233          * it to the flash instead should work though. Pre-production or later
234          * silicon does not have this issue.      234          * silicon does not have this issue.
235          */                                       235          */
236         status = "disabled";                      236         status = "disabled";
237                                                   237 
238         sys_ctrl_flash: flash@0 { // MT25QL01G    238         sys_ctrl_flash: flash@0 { // MT25QL01GBBB8ESF-0SIT
239                 compatible = "jedec,spi-nor";     239                 compatible = "jedec,spi-nor";
240                 #address-cells = <1>;             240                 #address-cells = <1>;
241                 #size-cells = <1>;                241                 #size-cells = <1>;
242                 spi-max-frequency = <20000000>    242                 spi-max-frequency = <20000000>;
243                 spi-rx-bus-width = <1>;           243                 spi-rx-bus-width = <1>;
244                 reg = <0>;                        244                 reg = <0>;
245         };                                        245         };
246 };                                                246 };
247                                                   247 
248 &usb {                                            248 &usb {
249         status = "okay";                          249         status = "okay";
250         dr_mode = "host";                         250         dr_mode = "host";
251 };                                                251 };
                                                      

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