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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/dove-cm-a510.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/arm/marvell/dove-cm-a510.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/marvell/dove-cm-a510.dtsi (Architecture sparc64)


  1 /*                                                  1 /*
  2  * Device Tree include for Compulab CM-A510 Sy      2  * Device Tree include for Compulab CM-A510 System-on-Module
  3  *                                                  3  *
  4  * Copyright (C) 2015, Sebastian Hesselbarth <s      4  * Copyright (C) 2015, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
  5  *                                                  5  *
  6  * This file is dual-licensed: you can use it       6  * This file is dual-licensed: you can use it either under the terms
  7  * of the GPL or the X11 license, at your opti      7  * of the GPL or the X11 license, at your option. Note that this dual
  8  * licensing only applies to this file, and no      8  * licensing only applies to this file, and not this project as a
  9  * whole.                                           9  * whole.
 10  *                                                 10  *
 11  *  a) This file is free software; you can red     11  *  a) This file is free software; you can redistribute it and/or
 12  *     modify it under the terms of the GNU Ge     12  *     modify it under the terms of the GNU General Public License as
 13  *     published by the Free Software Foundati     13  *     published by the Free Software Foundation; version 2 of the
 14  *     License.                                    14  *     License.
 15  *                                                 15  *
 16  *     This file is distributed in the hope th     16  *     This file is distributed in the hope that it will be useful,
 17  *     but WITHOUT ANY WARRANTY; without even      17  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 18  *     MERCHANTABILITY or FITNESS FOR A PARTIC     18  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 19  *     GNU General Public License for more det     19  *     GNU General Public License for more details.
 20  *                                                 20  *
 21  * Or, alternatively,                              21  * Or, alternatively,
 22  *                                                 22  *
 23  *  b) Permission is hereby granted, free of c     23  *  b) Permission is hereby granted, free of charge, to any person
 24  *     obtaining a copy of this software and a     24  *     obtaining a copy of this software and associated documentation
 25  *     files (the "Software"), to deal in the      25  *     files (the "Software"), to deal in the Software without
 26  *     restriction, including without limitati     26  *     restriction, including without limitation the rights to use,
 27  *     copy, modify, merge, publish, distribut     27  *     copy, modify, merge, publish, distribute, sublicense, and/or
 28  *     sell copies of the Software, and to per     28  *     sell copies of the Software, and to permit persons to whom the
 29  *     Software is furnished to do so, subject     29  *     Software is furnished to do so, subject to the following
 30  *     conditions:                                 30  *     conditions:
 31  *                                                 31  *
 32  *     The above copyright notice and this per     32  *     The above copyright notice and this permission notice shall be
 33  *     included in all copies or substantial p     33  *     included in all copies or substantial portions of the Software.
 34  *                                                 34  *
 35  *     THE SOFTWARE IS PROVIDED "AS IS", WITHO     35  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 36  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT L     36  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 37  *     OF MERCHANTABILITY, FITNESS FOR A PARTI     37  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 38  *     NONINFRINGEMENT. IN NO EVENT SHALL THE      38  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 39  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE     39  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 40  *     WHETHER IN AN ACTION OF CONTRACT, TORT      40  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 41  *     FROM, OUT OF OR IN CONNECTION WITH THE      41  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 42  *     OTHER DEALINGS IN THE SOFTWARE.             42  *     OTHER DEALINGS IN THE SOFTWARE.
 43  */                                                43  */
 44                                                    44 
 45 /*                                                 45 /*
 46  * The CM-A510 comes with several optional com     46  * The CM-A510 comes with several optional components:
 47  *                                                 47  *
 48  * Memory options:                                 48  * Memory options:
 49  *  D512: 512M                                     49  *  D512: 512M
 50  *  D1024: 1G                                      50  *  D1024: 1G
 51  *                                                 51  *
 52  * NAND options:                                   52  * NAND options:
 53  *  N512: 512M NAND                                53  *  N512: 512M NAND
 54  *                                                 54  *
 55  * Ethernet options:                               55  * Ethernet options:
 56  *  E1: PHY RTL8211D on internal GbE (SMI addr     56  *  E1: PHY RTL8211D on internal GbE (SMI address 0x03)
 57  *  E2: Additional ethernet NIC RTL8111D on PC     57  *  E2: Additional ethernet NIC RTL8111D on PCIe1
 58  *                                                 58  *
 59  * Audio options:                                  59  * Audio options:
 60  *  A: TI TLV320AIC23b audio codec (I2C addres     60  *  A: TI TLV320AIC23b audio codec (I2C address 0x1a)
 61  *                                                 61  *
 62  * Touchscreen options:                            62  * Touchscreen options:
 63  *  I: TI TSC2046 touchscreen controller (on S     63  *  I: TI TSC2046 touchscreen controller (on SPI1)
 64  *                                                 64  *
 65  * USB options:                                    65  * USB options:
 66  *  U2: 2 dual-role USB2.0 ports                   66  *  U2: 2 dual-role USB2.0 ports
 67  *  U4: 2 additional USB2.0 host ports (via US     67  *  U4: 2 additional USB2.0 host ports (via USB1)
 68  *                                                 68  *
 69  * WiFi options:                                   69  * WiFi options:
 70  *  W: Broadcom BCM4319 802.11b/g/n (USI WM-N-     70  *  W: Broadcom BCM4319 802.11b/g/n (USI WM-N-BM-01 on SDIO1)
 71  *                                                 71  *
 72  * GPIOs used on CM-A510:                          72  * GPIOs used on CM-A510:
 73  *   1 GbE PHY reset (active low)                  73  *   1 GbE PHY reset (active low)
 74  *   3 WakeUp                                      74  *   3 WakeUp
 75  *   8 PowerOff (active low)                       75  *   8 PowerOff (active low)
 76  *  13 Touchscreen pen irq (active low)            76  *  13 Touchscreen pen irq (active low)
 77  *  65 System LED (active high)                    77  *  65 System LED (active high)
 78  *  69 USB Hub reset (active low)                  78  *  69 USB Hub reset (active low)
 79  *  70 WLAN reset (active low)                     79  *  70 WLAN reset (active low)
 80  *  71 WLAN regulator (active high)                80  *  71 WLAN regulator (active high)
 81  */                                                81  */
 82                                                    82 
 83 #include "dove.dtsi"                               83 #include "dove.dtsi"
 84                                                    84 
 85 / {                                                85 / {
 86         model = "Compulab CM-A510";                86         model = "Compulab CM-A510";
 87         compatible = "compulab,cm-a510", "marv     87         compatible = "compulab,cm-a510", "marvell,dove";
 88                                                    88 
 89         /*                                         89         /*
 90          * Set the minimum memory size here an     90          * Set the minimum memory size here and let the
 91          * bootloader set the real size.           91          * bootloader set the real size.
 92          */                                        92          */
 93         memory {                                   93         memory {
 94                 device_type = "memory";            94                 device_type = "memory";
 95                 reg = <0x00000000 0x20000000>;     95                 reg = <0x00000000 0x20000000>;
 96         };                                         96         };
 97                                                    97 
 98         leds {                                     98         leds {
 99                 compatible = "gpio-leds";          99                 compatible = "gpio-leds";
100                 /* Set upper NAND data bit to     100                 /* Set upper NAND data bit to GPO */
101                 pinctrl-0 = <&pmx_nand_gpo>;      101                 pinctrl-0 = <&pmx_nand_gpo>;
102                 pinctrl-names = "default";        102                 pinctrl-names = "default";
103                                                   103 
104                 led-system {                      104                 led-system {
105                         label = "cm-a510:syste    105                         label = "cm-a510:system:green";
106                         gpios = <&gpio2 1 GPIO    106                         gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
107                         default-state = "keep"    107                         default-state = "keep";
108                 };                                108                 };
109         };                                        109         };
110                                                   110 
111         wifi_power: regulator-1 {                 111         wifi_power: regulator-1 {
112                 compatible = "regulator-fixed"    112                 compatible = "regulator-fixed";
113                 regulator-name = "WiFi Power";    113                 regulator-name = "WiFi Power";
114                 regulator-min-microvolt = <330    114                 regulator-min-microvolt = <3300000>;
115                 regulator-max-microvolt = <330    115                 regulator-max-microvolt = <3300000>;
116                 gpio = <&gpio2 7 GPIO_ACTIVE_H    116                 gpio = <&gpio2 7 GPIO_ACTIVE_HIGH>;
117         };                                        117         };
118 };                                                118 };
119                                                   119 
120 /* Optional RTL8211D GbE PHY on SMI address 0x    120 /* Optional RTL8211D GbE PHY on SMI address 0x03 */
121 &mdio {                                           121 &mdio {
122         ethphy: ethernet-phy@3 {                  122         ethphy: ethernet-phy@3 {
123                 reg = <3>;                        123                 reg = <3>;
124                 status = "disabled";              124                 status = "disabled";
125         };                                        125         };
126 };                                                126 };
127                                                   127 
128 &eth {                                            128 &eth {
129         ethernet-port@0 {                         129         ethernet-port@0 {
130                 phy-handle = <&ethphy>;           130                 phy-handle = <&ethphy>;
131         };                                        131         };
132 };                                                132 };
133                                                   133 
134 &i2c0 {                                           134 &i2c0 {
135         /* Optional TI TLV320AIC23b audio code    135         /* Optional TI TLV320AIC23b audio codec */
136         opt_audio: audio@1a {                     136         opt_audio: audio@1a {
137                 compatible = "ti,tlv320aic23";    137                 compatible = "ti,tlv320aic23";
138                 reg = <0x1a>;                     138                 reg = <0x1a>;
139                 status = "disabled";              139                 status = "disabled";
140         };                                        140         };
141 };                                                141 };
142                                                   142 
143 /* Optional RTL8111D GbE NIC on PCIe1 */          143 /* Optional RTL8111D GbE NIC on PCIe1 */
144 &pcie { status = "disabled"; };                   144 &pcie { status = "disabled"; };
145                                                   145 
146 &pcie1 {                                          146 &pcie1 {
147         pinctrl-0 = <&pmx_pcie1_clkreq>;          147         pinctrl-0 = <&pmx_pcie1_clkreq>;
148         pinctrl-names = "default";                148         pinctrl-names = "default";
149         status = "disabled";                      149         status = "disabled";
150 };                                                150 };
151                                                   151 
152 &pinctrl {                                        152 &pinctrl {
153         pmx_uart2: pmx-uart2 {                    153         pmx_uart2: pmx-uart2 {
154                 marvell,pins = "mpp14", "mpp15    154                 marvell,pins = "mpp14", "mpp15";
155                 marvell,function = "uart2";       155                 marvell,function = "uart2";
156         };                                        156         };
157 };                                                157 };
158                                                   158 
159 /* Optional Broadcom BCM4319 802.11b/g/n WiFi     159 /* Optional Broadcom BCM4319 802.11b/g/n WiFi module */
160 &sdio1 {                                          160 &sdio1 {
161         non-removable;                            161         non-removable;
162         vmmc-supply = <&wifi_power>;              162         vmmc-supply = <&wifi_power>;
163         reset-gpio = <&gpio2 6 GPIO_ACTIVE_LOW    163         reset-gpio = <&gpio2 6 GPIO_ACTIVE_LOW>;
164         status = "disabled";                      164         status = "disabled";
165 };                                                165 };
166                                                   166 
167 &spi0 {                                           167 &spi0 {
168         status = "okay";                          168         status = "okay";
169                                                   169 
170         /* 1M Flash Winbond W25Q80BL */           170         /* 1M Flash Winbond W25Q80BL */
171         flash@0 {                                 171         flash@0 {
172                 compatible = "winbond,w25q80";    172                 compatible = "winbond,w25q80";
173                 spi-max-frequency = <80000000>    173                 spi-max-frequency = <80000000>;
174                 reg = <0>;                        174                 reg = <0>;
175         };                                        175         };
176 };                                                176 };
177                                                   177 
178 &spi1 {                                           178 &spi1 {
179         pinctrl-0 = <&pmx_spi1_20_23>;            179         pinctrl-0 = <&pmx_spi1_20_23>;
180         pinctrl-names = "default";                180         pinctrl-names = "default";
181         status = "disabled";                      181         status = "disabled";
182                                                   182 
183         /* Optional TI TSC2046 touchscreen con    183         /* Optional TI TSC2046 touchscreen controller */
184         opt_touch: touchscreen@0 {                184         opt_touch: touchscreen@0 {
185                 compatible = "ti,tsc2046";        185                 compatible = "ti,tsc2046";
186                 spi-max-frequency = <2500000>;    186                 spi-max-frequency = <2500000>;
187                 reg = <0>;                        187                 reg = <0>;
188                 pinctrl-0 = <&pmx_gpio_13>;       188                 pinctrl-0 = <&pmx_gpio_13>;
189                 pinctrl-names = "default";        189                 pinctrl-names = "default";
190                 interrupts-extended = <&gpio0     190                 interrupts-extended = <&gpio0 13 IRQ_TYPE_EDGE_FALLING>;
191         };                                        191         };
192 };                                                192 };
193                                                   193 
194 &uart2 {                                          194 &uart2 {
195         pinctrl-0 = <&pmx_uart2>;                 195         pinctrl-0 = <&pmx_uart2>;
196         pinctrl-names = "default";                196         pinctrl-names = "default";
197 };                                                197 };
                                                      

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