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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/marvell/armada-3720-db.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/arm64/marvell/armada-3720-db.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/marvell/armada-3720-db.dts (Version linux-4.12.14)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)  << 
  2 /*                                                  1 /*
  3  * Device Tree file for Marvell Armada 3720 de      2  * Device Tree file for Marvell Armada 3720 development board
  4  * (DB-88F3720-DDR3)                                3  * (DB-88F3720-DDR3)
  5  * Copyright (C) 2016 Marvell                       4  * Copyright (C) 2016 Marvell
  6  *                                                  5  *
  7  * Gregory CLEMENT <gregory.clement@free-electr      6  * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8  *                                                  7  *
  9  * This file is compatible with the version 1. !!   8  * This file is dual-licensed: you can use it either under the terms
 10  * the board, however the CON numbers are diff !!   9  * of the GPL or the X11 license, at your option. Note that this dual
 11  * version                                     !!  10  * licensing only applies to this file, and not this project as a
                                                   >>  11  * whole.
                                                   >>  12  *
                                                   >>  13  *  a) This file is free software; you can redistribute it and/or
                                                   >>  14  *     modify it under the terms of the GNU General Public License as
                                                   >>  15  *     published by the Free Software Foundation; either version 2 of the
                                                   >>  16  *     License, or (at your option) any later version.
                                                   >>  17  *
                                                   >>  18  *     This file is distributed in the hope that it will be useful,
                                                   >>  19  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  20  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  21  *     GNU General Public License for more details.
                                                   >>  22  *
                                                   >>  23  * Or, alternatively,
                                                   >>  24  *
                                                   >>  25  *  b) Permission is hereby granted, free of charge, to any person
                                                   >>  26  *     obtaining a copy of this software and associated documentation
                                                   >>  27  *     files (the "Software"), to deal in the Software without
                                                   >>  28  *     restriction, including without limitation the rights to use,
                                                   >>  29  *     copy, modify, merge, publish, distribute, sublicense, and/or
                                                   >>  30  *     sell copies of the Software, and to permit persons to whom the
                                                   >>  31  *     Software is furnished to do so, subject to the following
                                                   >>  32  *     conditions:
                                                   >>  33  *
                                                   >>  34  *     The above copyright notice and this permission notice shall be
                                                   >>  35  *     included in all copies or substantial portions of the Software.
                                                   >>  36  *
                                                   >>  37  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
                                                   >>  38  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
                                                   >>  39  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
                                                   >>  40  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
                                                   >>  41  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
                                                   >>  42  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
                                                   >>  43  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
                                                   >>  44  *     OTHER DEALINGS IN THE SOFTWARE.
 12  */                                                45  */
 13                                                    46 
 14 /dts-v1/;                                          47 /dts-v1/;
 15                                                    48 
 16 #include <dt-bindings/gpio/gpio.h>                 49 #include <dt-bindings/gpio/gpio.h>
 17 #include "armada-372x.dtsi"                        50 #include "armada-372x.dtsi"
 18                                                    51 
 19 / {                                                52 / {
 20         model = "Marvell Armada 3720 Developme     53         model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3";
 21         compatible = "marvell,armada-3720-db", !!  54         compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710";
 22                                                    55 
 23         chosen {                                   56         chosen {
 24                 stdout-path = "serial0:115200n     57                 stdout-path = "serial0:115200n8";
 25         };                                         58         };
 26                                                    59 
 27         memory@0 {                                 60         memory@0 {
 28                 device_type = "memory";            61                 device_type = "memory";
 29                 reg = <0x00000000 0x00000000 0     62                 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
 30         };                                         63         };
 31                                                    64 
 32         exp_usb3_vbus: usb3-vbus {                 65         exp_usb3_vbus: usb3-vbus {
 33                 compatible = "regulator-fixed"     66                 compatible = "regulator-fixed";
 34                 regulator-name = "usb3-vbus";      67                 regulator-name = "usb3-vbus";
 35                 regulator-min-microvolt = <500     68                 regulator-min-microvolt = <5000000>;
 36                 regulator-max-microvolt = <500     69                 regulator-max-microvolt = <5000000>;
 37                 enable-active-high;                70                 enable-active-high;
 38                 regulator-always-on;               71                 regulator-always-on;
 39                 gpio = <&gpio_exp 1 GPIO_ACTIV     72                 gpio = <&gpio_exp 1 GPIO_ACTIVE_HIGH>;
 40         };                                         73         };
 41                                                    74 
 42         usb3_phy: usb3-phy {                       75         usb3_phy: usb3-phy {
 43                 compatible = "usb-nop-xceiv";      76                 compatible = "usb-nop-xceiv";
 44                 vcc-supply = <&exp_usb3_vbus>;     77                 vcc-supply = <&exp_usb3_vbus>;
 45         };                                         78         };
 46                                                << 
 47         vcc_sd_reg1: regulator {               << 
 48                 compatible = "regulator-gpio"; << 
 49                 regulator-name = "vcc_sd1";    << 
 50                 regulator-min-microvolt = <180 << 
 51                 regulator-max-microvolt = <330 << 
 52                 regulator-boot-on;             << 
 53                                                << 
 54                 gpios = <&gpiosb 23 GPIO_ACTIV << 
 55                 gpios-states = <0>;            << 
 56                 states = <1800000 0x1          << 
 57                           3300000 0x0>;        << 
 58                 enable-active-high;            << 
 59         };                                     << 
 60                                                << 
 61         vcc_sd_reg2: regulator-vmcc {          << 
 62                 compatible = "regulator-fixed" << 
 63                 regulator-name = "vcc_sd2";    << 
 64                 regulator-min-microvolt = <330 << 
 65                 regulator-max-microvolt = <330 << 
 66                 regulator-boot-on;             << 
 67                 enable-active-high;            << 
 68                 gpio = <&gpio_exp 4 GPIO_ACTIV << 
 69         };                                     << 
 70 };                                             << 
 71                                                << 
 72 /* Gigabit module on CON19(V2.0)/CON21(V1.4) * << 
 73 &eth0 {                                        << 
 74         pinctrl-names = "default";             << 
 75         pinctrl-0 = <&rgmii_pins>;             << 
 76         phy-mode = "rgmii-id";                 << 
 77         phy = <&phy0>;                         << 
 78         status = "okay";                       << 
 79 };                                             << 
 80                                                << 
 81 /* Gigabit module on CON18(V2.0)/CON20(V1.4) * << 
 82 &eth1 {                                        << 
 83         phy-mode = "sgmii";                    << 
 84         phy = <&phy1>;                         << 
 85         status = "okay";                       << 
 86 };                                                 79 };
 87                                                    80 
 88 &i2c0 {                                            81 &i2c0 {
 89         pinctrl-names = "default";                 82         pinctrl-names = "default";
 90         pinctrl-0 = <&i2c1_pins>;                  83         pinctrl-0 = <&i2c1_pins>;
 91         status = "okay";                           84         status = "okay";
 92                                                    85 
 93         gpio_exp: pca9555@22 {                     86         gpio_exp: pca9555@22 {
 94                 compatible = "nxp,pca9555";        87                 compatible = "nxp,pca9555";
 95                 gpio-controller;                   88                 gpio-controller;
 96                 #gpio-cells = <2>;                 89                 #gpio-cells = <2>;
 97                                                    90 
 98                 reg = <0x22>;                      91                 reg = <0x22>;
 99                 /*                                 92                 /*
100                  * IO0_0: PWR_EN_USB2   IO1_0:     93                  * IO0_0: PWR_EN_USB2   IO1_0: PWR_EN_VTT
101                  * IO0_1: PWR_EN_USB23  IO1_1:     94                  * IO0_1: PWR_EN_USB23  IO1_1: MPCIE_WDISABLE
102                  * IO0_2: PWR_EN_SATA   IO1_2:     95                  * IO0_2: PWR_EN_SATA   IO1_2: RGMII_DEV_RSTN
103                  * IO0_3: PWR_EN_PCIE   IO1_3:     96                  * IO0_3: PWR_EN_PCIE   IO1_3: SGMII_DEV_RSTN
104                  * IO0_4: PWR_EN_SD                97                  * IO0_4: PWR_EN_SD
105                  * IO0_5: PWR_EN_EMMC              98                  * IO0_5: PWR_EN_EMMC
106                  * IO0_6: PWR_EN_RGMII  IO1_6:     99                  * IO0_6: PWR_EN_RGMII  IO1_6: SATA_USB3.0_SEL
107                  * IO0_7: PWR_EN_SGMII  IO1_7:    100                  * IO0_7: PWR_EN_SGMII  IO1_7: PWR_MCI_PS
108                  */                               101                  */
109         };                                        102         };
110                                                   103 
111         rtc@68  {                                 104         rtc@68  {
112                 /* PT7C4337A from pericom full    105                 /* PT7C4337A from pericom fully compatible with the ds1337 */
113                 compatible = "dallas,ds1337";     106                 compatible = "dallas,ds1337";
114                 reg = <0x68>;                     107                 reg = <0x68>;
115         };                                        108         };
116 };                                                109 };
117                                                   110 
118 &mdio {                                        << 
119         status = "okay";                       << 
120         phy0: ethernet-phy@0 {                 << 
121                 reg = <0>;                     << 
122         };                                     << 
123                                                << 
124         phy1: ethernet-phy@1 {                 << 
125                 reg = <1>;                     << 
126         };                                     << 
127 };                                             << 
128                                                << 
129 /* CON15(V2.0)/CON17(V1.4) : PCIe / CON15(V2.0 << 
130 &pcie0 {                                       << 
131         pinctrl-names = "default";             << 
132         pinctrl-0 = <&pcie_reset_pins &pcie_cl << 
133         reset-gpios = <&gpiosb 3 GPIO_ACTIVE_L << 
134         status = "okay";                       << 
135 };                                             << 
136                                                << 
137 /* CON3 */                                        111 /* CON3 */
138 &sata {                                           112 &sata {
139         status = "okay";                          113         status = "okay";
140 };                                                114 };
141                                                   115 
142 &sdhci0 {                                      << 
143         non-removable;                         << 
144         bus-width = <8>;                       << 
145         mmc-ddr-1_8v;                          << 
146         mmc-hs400-1_8v;                        << 
147         marvell,pad-type = "fixed-1-8v";       << 
148         status = "okay";                       << 
149 };                                             << 
150                                                << 
151 /* SD slot module on CON14(V2.0)/CON15(V1.4) * << 
152 &sdhci1 {                                      << 
153         wp-inverted;                           << 
154         cd-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW> << 
155         bus-width = <4>;                       << 
156         marvell,pad-type = "sd";               << 
157         vqmmc-supply = <&vcc_sd_reg1>;         << 
158         vmmc-supply = <&vcc_sd_reg2>;          << 
159         status = "okay";                       << 
160 };                                             << 
161                                                << 
162 &spi0 {                                           116 &spi0 {
163         status = "okay";                          117         status = "okay";
164         pinctrl-names = "default";                118         pinctrl-names = "default";
165         pinctrl-0 = <&spi_quad_pins>;             119         pinctrl-0 = <&spi_quad_pins>;
166                                                   120 
167         flash@0 {                              !! 121         m25p80@0 {
168                 compatible = "jedec,spi-nor";     122                 compatible = "jedec,spi-nor";
169                 reg = <0>;                        123                 reg = <0>;
170                 spi-max-frequency = <108000000    124                 spi-max-frequency = <108000000>;
171                 spi-rx-bus-width = <4>;           125                 spi-rx-bus-width = <4>;
172                 spi-tx-bus-width = <4>;           126                 spi-tx-bus-width = <4>;
173                                                   127 
174                 partitions {                      128                 partitions {
175                         compatible = "fixed-pa    129                         compatible = "fixed-partitions";
176                         #address-cells = <1>;     130                         #address-cells = <1>;
177                         #size-cells = <1>;        131                         #size-cells = <1>;
178                         partition@0 {             132                         partition@0 {
179                                 label = "bootl    133                                 label = "bootloader";
180                                 reg = <0x0 0x2    134                                 reg = <0x0 0x200000>;
181                         };                        135                         };
182                         partition@200000 {        136                         partition@200000 {
183                                 label = "U-boo    137                                 label = "U-boot Env";
184                                 reg = <0x20000    138                                 reg = <0x200000 0x10000>;
185                         };                        139                         };
186                         partition@210000 {        140                         partition@210000 {
187                                 label = "Linux    141                                 label = "Linux";
188                                 reg = <0x21000    142                                 reg = <0x210000 0xDF0000>;
189                         };                        143                         };
190                 };                                144                 };
191         };                                        145         };
192 };                                                146 };
193                                                   147 
194 /*                                             !! 148 /* Exported on the micro USB connector CON32 through an FTDI */
195  * Exported on the micro USB connector CON30(V << 
196  * an FTDI (also on CON24(V2.0)/CON26(V1.4)).  << 
197  */                                            << 
198 &uart0 {                                          149 &uart0 {
199         pinctrl-names = "default";                150         pinctrl-names = "default";
200         pinctrl-0 = <&uart1_pins>;                151         pinctrl-0 = <&uart1_pins>;
201         status = "okay";                          152         status = "okay";
202 };                                                153 };
203                                                   154 
204 /* CON26(V2.0)/CON28(V1.4) */                  !! 155 &sdhci0 {
205 &uart1 {                                       !! 156         non-removable;
206         pinctrl-names = "default";             !! 157         bus-width = <8>;
207         pinctrl-0 = <&uart2_pins>;             !! 158         mmc-ddr-1_8v;
                                                   >> 159         mmc-hs400-1_8v;
                                                   >> 160         marvell,pad-type = "fixed-1-8v";
                                                   >> 161         status = "okay";
                                                   >> 162 };
                                                   >> 163 
                                                   >> 164 /* CON31 */
                                                   >> 165 &usb3 {
                                                   >> 166         status = "okay";
                                                   >> 167         usb-phy = <&usb3_phy>;
                                                   >> 168 };
                                                   >> 169 
                                                   >> 170 /* CON17 (PCIe) / CON12 (mini-PCIe) */
                                                   >> 171 &pcie0 {
208         status = "okay";                          172         status = "okay";
209 };                                                173 };
210                                                   174 
211 /* CON27(V2.0)/CON29(V1.4) */                  !! 175 /* CON27 */
212 &usb2 {                                           176 &usb2 {
213         status = "okay";                          177         status = "okay";
214 };                                                178 };
215                                                   179 
216 /* CON29(V2.0)/CON31(V1.4) */                  !! 180 
217 &usb3 {                                        !! 181 &mdio {
                                                   >> 182         status = "okay";
                                                   >> 183         phy0: ethernet-phy@0 {
                                                   >> 184                 reg = <0>;
                                                   >> 185         };
                                                   >> 186 
                                                   >> 187         phy1: ethernet-phy@1 {
                                                   >> 188                 reg = <1>;
                                                   >> 189         };
                                                   >> 190 };
                                                   >> 191 
                                                   >> 192 &eth0 {
                                                   >> 193         pinctrl-names = "default";
                                                   >> 194         pinctrl-0 = <&rgmii_pins>;
                                                   >> 195         phy-mode = "rgmii-id";
                                                   >> 196         phy = <&phy0>;
                                                   >> 197         status = "okay";
                                                   >> 198 };
                                                   >> 199 
                                                   >> 200 &eth1 {
                                                   >> 201         phy-mode = "sgmii";
                                                   >> 202         phy = <&phy1>;
218         status = "okay";                          203         status = "okay";
219         usb-phy = <&usb3_phy>;                 << 
220 };                                                204 };
                                                      

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