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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/marvell/cn9132-db.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/marvell/cn9132-db.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/marvell/cn9132-db.dtsi (Version linux-6.6.60)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (C) 2020 Marvell International Lt      3  * Copyright (C) 2020 Marvell International Ltd.
  4  *                                                  4  *
  5  * Device tree for the CN9132-DB board.             5  * Device tree for the CN9132-DB board.
  6  */                                                 6  */
  7                                                     7 
  8 #include "cn9131-db.dtsi"                           8 #include "cn9131-db.dtsi"
  9                                                     9 
 10 / {                                                10 / {
 11         compatible = "marvell,cn9132", "marvel     11         compatible = "marvell,cn9132", "marvell,cn9131", "marvell,cn9130",
 12                      "marvell,armada-ap807-qua     12                      "marvell,armada-ap807-quad", "marvell,armada-ap807";
 13                                                    13 
 14         aliases {                                  14         aliases {
 15                 gpio5 = &cp2_gpio1;                15                 gpio5 = &cp2_gpio1;
 16                 gpio6 = &cp2_gpio2;                16                 gpio6 = &cp2_gpio2;
 17                 ethernet5 = &cp2_eth0;             17                 ethernet5 = &cp2_eth0;
 18         };                                         18         };
 19                                                    19 
 20         cp2_reg_usb3_vbus0: regulator-7 {      !!  20         cp2_reg_usb3_vbus0: cp2_usb3_vbus@0 {
 21                 compatible = "regulator-fixed"     21                 compatible = "regulator-fixed";
 22                 regulator-name = "cp2-xhci0-vb     22                 regulator-name = "cp2-xhci0-vbus";
 23                 regulator-min-microvolt = <500     23                 regulator-min-microvolt = <5000000>;
 24                 regulator-max-microvolt = <500     24                 regulator-max-microvolt = <5000000>;
 25                 enable-active-high;                25                 enable-active-high;
 26                 gpio = <&cp2_gpio1 2 GPIO_ACTI     26                 gpio = <&cp2_gpio1 2 GPIO_ACTIVE_HIGH>;
 27         };                                         27         };
 28                                                    28 
 29         cp2_usb3_0_phy0: usb-phy-4 {           !!  29         cp2_usb3_0_phy0: cp2_usb3_phy0 {
 30                 compatible = "usb-nop-xceiv";      30                 compatible = "usb-nop-xceiv";
 31                 vcc-supply = <&cp2_reg_usb3_vb     31                 vcc-supply = <&cp2_reg_usb3_vbus0>;
 32         };                                         32         };
 33                                                    33 
 34         cp2_reg_usb3_vbus1: regulator-8 {      !!  34         cp2_reg_usb3_vbus1: cp2_usb3_vbus@1 {
 35                 compatible = "regulator-fixed"     35                 compatible = "regulator-fixed";
 36                 regulator-name = "cp2-xhci1-vb     36                 regulator-name = "cp2-xhci1-vbus";
 37                 regulator-min-microvolt = <500     37                 regulator-min-microvolt = <5000000>;
 38                 regulator-max-microvolt = <500     38                 regulator-max-microvolt = <5000000>;
 39                 enable-active-high;                39                 enable-active-high;
 40                 gpio = <&cp2_gpio1 3 GPIO_ACTI     40                 gpio = <&cp2_gpio1 3 GPIO_ACTIVE_HIGH>;
 41         };                                         41         };
 42                                                    42 
 43         cp2_usb3_0_phy1: usb-phy-5 {           !!  43         cp2_usb3_0_phy1: cp2_usb3_phy1 {
 44                 compatible = "usb-nop-xceiv";      44                 compatible = "usb-nop-xceiv";
 45                 vcc-supply = <&cp2_reg_usb3_vb     45                 vcc-supply = <&cp2_reg_usb3_vbus1>;
 46         };                                         46         };
 47                                                    47 
 48         cp2_reg_sd_vccq: regulator-9 {         !!  48         cp2_reg_sd_vccq: cp2_sd_vccq@0 {
 49                 compatible = "regulator-gpio";     49                 compatible = "regulator-gpio";
 50                 regulator-name = "cp2_sd_vcc";     50                 regulator-name = "cp2_sd_vcc";
 51                 regulator-min-microvolt = <180     51                 regulator-min-microvolt = <1800000>;
 52                 regulator-max-microvolt = <330     52                 regulator-max-microvolt = <3300000>;
 53                 gpios = <&cp2_gpio2 17 GPIO_AC     53                 gpios = <&cp2_gpio2 17 GPIO_ACTIVE_HIGH>;
 54                 states = <1800000 0x1 3300000      54                 states = <1800000 0x1 3300000 0x0>;
 55         };                                         55         };
 56                                                    56 
 57         cp2_sfp_eth0: sfp-eth-3 {              !!  57         cp2_sfp_eth0: sfp-eth0 {
 58                 compatible = "sff,sfp";            58                 compatible = "sff,sfp";
 59                 i2c-bus = <&cp2_sfpp0_i2c>;        59                 i2c-bus = <&cp2_sfpp0_i2c>;
 60                 los-gpios = <&cp2_module_expan     60                 los-gpios = <&cp2_module_expander1 11 GPIO_ACTIVE_HIGH>;
 61                 mod-def0-gpios = <&cp2_module_     61                 mod-def0-gpios = <&cp2_module_expander1 10 GPIO_ACTIVE_LOW>;
 62                 tx-disable-gpios = <&cp2_modul     62                 tx-disable-gpios = <&cp2_module_expander1 9 GPIO_ACTIVE_HIGH>;
 63                 tx-fault-gpios = <&cp2_module_     63                 tx-fault-gpios = <&cp2_module_expander1 8 GPIO_ACTIVE_HIGH>;
 64                 /*                                 64                 /*
 65                  * SFP cages are unconnected o     65                  * SFP cages are unconnected on early PCBs because of an the I2C
 66                  * lanes not being connected.      66                  * lanes not being connected. Prevent the port for being
 67                  * unusable by disabling the S     67                  * unusable by disabling the SFP node.
 68                  */                                68                  */
 69                 status = "disabled";               69                 status = "disabled";
 70         };                                         70         };
 71 };                                                 71 };
 72                                                    72 
 73 /*                                                 73 /*
 74  * Instantiate the second slave CP115              74  * Instantiate the second slave CP115
 75  */                                                75  */
 76                                                    76 
 77 #define CP11X_NAME              cp2                77 #define CP11X_NAME              cp2
 78 #define CP11X_BASE              f6000000           78 #define CP11X_BASE              f6000000
 79 #define CP11X_PCIEx_MEM_BASE(iface) (0xe500000     79 #define CP11X_PCIEx_MEM_BASE(iface) (0xe5000000 + (iface * 0x1000000))
 80 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000       80 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000
 81 #define CP11X_PCIE0_BASE        f6600000           81 #define CP11X_PCIE0_BASE        f6600000
 82 #define CP11X_PCIE1_BASE        f6620000           82 #define CP11X_PCIE1_BASE        f6620000
 83 #define CP11X_PCIE2_BASE        f6640000           83 #define CP11X_PCIE2_BASE        f6640000
 84                                                    84 
 85 #include "armada-cp115.dtsi"                       85 #include "armada-cp115.dtsi"
 86                                                    86 
 87 #undef CP11X_NAME                                  87 #undef CP11X_NAME
 88 #undef CP11X_BASE                                  88 #undef CP11X_BASE
 89 #undef CP11X_PCIEx_MEM_BASE                        89 #undef CP11X_PCIEx_MEM_BASE
 90 #undef CP11X_PCIEx_MEM_SIZE                        90 #undef CP11X_PCIEx_MEM_SIZE
 91 #undef CP11X_PCIE0_BASE                            91 #undef CP11X_PCIE0_BASE
 92 #undef CP11X_PCIE1_BASE                            92 #undef CP11X_PCIE1_BASE
 93 #undef CP11X_PCIE2_BASE                            93 #undef CP11X_PCIE2_BASE
 94                                                    94 
 95 &cp2_crypto {                                      95 &cp2_crypto {
 96         status = "disabled";                       96         status = "disabled";
 97 };                                                 97 };
 98                                                    98 
 99 &cp2_ethernet {                                    99 &cp2_ethernet {
100         status = "okay";                          100         status = "okay";
101 };                                                101 };
102                                                   102 
103 /* SLM-1521-V2, CON9 */                           103 /* SLM-1521-V2, CON9 */
104 &cp2_eth0 {                                       104 &cp2_eth0 {
105         status = "disabled";                      105         status = "disabled";
106         phy-mode = "10gbase-r";                   106         phy-mode = "10gbase-r";
107         /* Generic PHY, providing serdes lanes    107         /* Generic PHY, providing serdes lanes */
108         phys = <&cp2_comphy4 0>;                  108         phys = <&cp2_comphy4 0>;
109         managed = "in-band-status";               109         managed = "in-band-status";
110         sfp = <&cp2_sfp_eth0>;                    110         sfp = <&cp2_sfp_eth0>;
111 };                                                111 };
112                                                   112 
113 &cp2_gpio1 {                                      113 &cp2_gpio1 {
114         status = "okay";                          114         status = "okay";
115 };                                                115 };
116                                                   116 
117 &cp2_gpio2 {                                      117 &cp2_gpio2 {
118         status = "okay";                          118         status = "okay";
119 };                                                119 };
120                                                   120 
121 &cp2_i2c0 {                                       121 &cp2_i2c0 {
122         clock-frequency = <100000>;               122         clock-frequency = <100000>;
123                                                   123 
124         /* SLM-1521-V2 - U3 */                    124         /* SLM-1521-V2 - U3 */
125         i2c-mux@72 {                              125         i2c-mux@72 {
126                 compatible = "nxp,pca9544";       126                 compatible = "nxp,pca9544";
127                 #address-cells = <1>;             127                 #address-cells = <1>;
128                 #size-cells = <0>;                128                 #size-cells = <0>;
129                 reg = <0x72>;                     129                 reg = <0x72>;
130                 cp2_sfpp0_i2c: i2c@0 {            130                 cp2_sfpp0_i2c: i2c@0 {
131                         #address-cells = <1>;     131                         #address-cells = <1>;
132                         #size-cells = <0>;        132                         #size-cells = <0>;
133                         reg = <0>;                133                         reg = <0>;
134                 };                                134                 };
135                                                   135 
136                 i2c@1 {                           136                 i2c@1 {
137                         #address-cells = <1>;     137                         #address-cells = <1>;
138                         #size-cells = <0>;        138                         #size-cells = <0>;
139                         reg = <1>;                139                         reg = <1>;
140                         /* U12 */                 140                         /* U12 */
141                         cp2_module_expander1:     141                         cp2_module_expander1: pca9555@21 {
142                                 compatible = "    142                                 compatible = "nxp,pca9555";
143                                 pinctrl-names     143                                 pinctrl-names = "default";
144                                 gpio-controlle    144                                 gpio-controller;
145                                 #gpio-cells =     145                                 #gpio-cells = <2>;
146                                 reg = <0x21>;     146                                 reg = <0x21>;
147                         };                        147                         };
148                 };                                148                 };
149         };                                        149         };
150 };                                                150 };
151                                                   151 
152 /* SLM-1521-V2, CON6 */                           152 /* SLM-1521-V2, CON6 */
153 &cp2_pcie0 {                                      153 &cp2_pcie0 {
154         status = "okay";                          154         status = "okay";
155         num-lanes = <2>;                          155         num-lanes = <2>;
156         num-viewport = <8>;                       156         num-viewport = <8>;
157         /* Generic PHY, providing serdes lanes    157         /* Generic PHY, providing serdes lanes */
158         phys = <&cp2_comphy0 0                    158         phys = <&cp2_comphy0 0
159                 &cp2_comphy1 0>;                  159                 &cp2_comphy1 0>;
160 };                                                160 };
161                                                   161 
162 /* SLM-1521-V2, CON8 */                           162 /* SLM-1521-V2, CON8 */
163 &cp2_pcie2 {                                      163 &cp2_pcie2 {
164         status = "okay";                          164         status = "okay";
165         num-lanes = <1>;                          165         num-lanes = <1>;
166         num-viewport = <8>;                       166         num-viewport = <8>;
167         /* Generic PHY, providing serdes lanes    167         /* Generic PHY, providing serdes lanes */
168         phys = <&cp2_comphy5 2>;                  168         phys = <&cp2_comphy5 2>;
169 };                                                169 };
170                                                   170 
171 &cp2_sata0 {                                      171 &cp2_sata0 {
172         status = "okay";                          172         status = "okay";
173                                                   173 
174         /* SLM-1521-V2, CON4 */                   174         /* SLM-1521-V2, CON4 */
175         sata-port@0 {                             175         sata-port@0 {
176                 /* Generic PHY, providing serd    176                 /* Generic PHY, providing serdes lanes */
177                 phys = <&cp2_comphy2 0>;          177                 phys = <&cp2_comphy2 0>;
178         };                                        178         };
179 };                                                179 };
180                                                   180 
181 /* CON 2 on SLM-1683 - microSD */                 181 /* CON 2 on SLM-1683 - microSD */
182 &cp2_sdhci0 {                                     182 &cp2_sdhci0 {
183         status = "okay";                          183         status = "okay";
184         pinctrl-names = "default";                184         pinctrl-names = "default";
185         pinctrl-0 = <&cp2_sdhci_pins>;            185         pinctrl-0 = <&cp2_sdhci_pins>;
186         bus-width = <4>;                          186         bus-width = <4>;
187         cd-gpios = <&cp2_gpio2 23 GPIO_ACTIVE_    187         cd-gpios = <&cp2_gpio2 23 GPIO_ACTIVE_LOW>;
188         vqmmc-supply = <&cp2_reg_sd_vccq>;        188         vqmmc-supply = <&cp2_reg_sd_vccq>;
189 };                                                189 };
190                                                   190 
191 &cp2_syscon0 {                                    191 &cp2_syscon0 {
192         cp2_pinctrl: pinctrl {                    192         cp2_pinctrl: pinctrl {
193                 compatible = "marvell,cp115-st    193                 compatible = "marvell,cp115-standalone-pinctrl";
194                                                   194 
195                 cp2_i2c0_pins: cp2-i2c-pins-0     195                 cp2_i2c0_pins: cp2-i2c-pins-0 {
196                         marvell,pins = "mpp37"    196                         marvell,pins = "mpp37", "mpp38";
197                         marvell,function = "i2    197                         marvell,function = "i2c0";
198                 };                                198                 };
199                 cp2_sdhci_pins: cp2-sdhi-pins-    199                 cp2_sdhci_pins: cp2-sdhi-pins-0 {
200                         marvell,pins = "mpp56"    200                         marvell,pins = "mpp56", "mpp57", "mpp58",
201                                        "mpp59"    201                                        "mpp59", "mpp60", "mpp61";
202                         marvell,function = "sd    202                         marvell,function = "sdio";
203                 };                                203                 };
204         };                                        204         };
205 };                                                205 };
206                                                   206 
207 &cp2_utmi {                                       207 &cp2_utmi {
208         status = "okay";                          208         status = "okay";
209 };                                                209 };
210                                                   210 
211 &cp2_usb3_0 {                                     211 &cp2_usb3_0 {
212         status = "okay";                          212         status = "okay";
213         usb-phy = <&cp2_usb3_0_phy0>;             213         usb-phy = <&cp2_usb3_0_phy0>;
214         phys = <&cp2_utmi0>;                      214         phys = <&cp2_utmi0>;
215         phy-names = "usb";                        215         phy-names = "usb";
216         dr_mode = "host";                         216         dr_mode = "host";
217 };                                                217 };
218                                                   218 
219 /* SLM-1521-V2, CON11 */                          219 /* SLM-1521-V2, CON11 */
220 &cp2_usb3_1 {                                     220 &cp2_usb3_1 {
221         status = "okay";                          221         status = "okay";
222         usb-phy = <&cp2_usb3_0_phy1>;             222         usb-phy = <&cp2_usb3_0_phy1>;
223         /* Generic PHY, providing serdes lanes    223         /* Generic PHY, providing serdes lanes */
224         phys = <&cp2_comphy3 1>, <&cp2_utmi1>;    224         phys = <&cp2_comphy3 1>, <&cp2_utmi1>;
225         phy-names = "usb", "utmi";                225         phy-names = "usb", "utmi";
226         dr_mode = "host";                         226         dr_mode = "host";
227 };                                                227 };
                                                      

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