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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm2837-rpi-zero-2-w.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/broadcom/bcm2837-rpi-zero-2-w.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/broadcom/bcm2837-rpi-zero-2-w.dts (Architecture sparc)


  1 // SPDX-License-Identifier: GPL-2.0+                1 // SPDX-License-Identifier: GPL-2.0+
  2 /*                                                  2 /*
  3  * Copyright (C) 2022 Stefan Wahren <stefan.wah      3  * Copyright (C) 2022 Stefan Wahren <stefan.wahren@i2se.com>
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7 #include "bcm2837.dtsi"                             7 #include "bcm2837.dtsi"
  8 #include "bcm2836-rpi.dtsi"                         8 #include "bcm2836-rpi.dtsi"
  9 #include "bcm283x-rpi-led-deprecated.dtsi"          9 #include "bcm283x-rpi-led-deprecated.dtsi"
 10 #include "bcm283x-rpi-usb-otg.dtsi"                10 #include "bcm283x-rpi-usb-otg.dtsi"
 11 #include "bcm283x-rpi-wifi-bt.dtsi"                11 #include "bcm283x-rpi-wifi-bt.dtsi"
 12                                                    12 
 13 / {                                                13 / {
 14         compatible = "raspberrypi,model-zero-2     14         compatible = "raspberrypi,model-zero-2-w", "brcm,bcm2837";
 15         model = "Raspberry Pi Zero 2 W";           15         model = "Raspberry Pi Zero 2 W";
 16                                                    16 
 17         memory@0 {                                 17         memory@0 {
 18                 device_type = "memory";            18                 device_type = "memory";
 19                 reg = <0 0x20000000>;              19                 reg = <0 0x20000000>;
 20         };                                         20         };
 21                                                    21 
 22         chosen {                                   22         chosen {
 23                 /* 8250 auxiliary UART instead     23                 /* 8250 auxiliary UART instead of pl011 */
 24                 stdout-path = "serial1:115200n     24                 stdout-path = "serial1:115200n8";
 25         };                                         25         };
 26 };                                                 26 };
 27                                                    27 
 28 &bt {                                              28 &bt {
 29         shutdown-gpios = <&gpio 42 GPIO_ACTIVE     29         shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
 30 };                                                 30 };
 31                                                    31 
 32 &gpio {                                            32 &gpio {
 33         /*                                         33         /*
 34          * This is based on the official GPU f     34          * This is based on the official GPU firmware DT blob.
 35          *                                         35          *
 36          * Legend:                                 36          * Legend:
 37          * "NC" = not connected (no rail from      37          * "NC" = not connected (no rail from the SoC)
 38          * "FOO" = GPIO line named "FOO" on th     38          * "FOO" = GPIO line named "FOO" on the schematic
 39          * "FOO_N" = GPIO line named "FOO" on      39          * "FOO_N" = GPIO line named "FOO" on schematic, active low
 40          */                                        40          */
 41         gpio-line-names = "ID_SDA",                41         gpio-line-names = "ID_SDA",
 42                           "ID_SCL",                42                           "ID_SCL",
 43                           "SDA1",                  43                           "SDA1",
 44                           "SCL1",                  44                           "SCL1",
 45                           "GPIO_GCLK",             45                           "GPIO_GCLK",
 46                           "GPIO5",                 46                           "GPIO5",
 47                           "GPIO6",                 47                           "GPIO6",
 48                           "SPI_CE1_N",             48                           "SPI_CE1_N",
 49                           "SPI_CE0_N",             49                           "SPI_CE0_N",
 50                           "SPI_MISO",              50                           "SPI_MISO",
 51                           "SPI_MOSI",              51                           "SPI_MOSI",
 52                           "SPI_SCLK",              52                           "SPI_SCLK",
 53                           "GPIO12",                53                           "GPIO12",
 54                           "GPIO13",                54                           "GPIO13",
 55                           /* Serial port */        55                           /* Serial port */
 56                           "TXD0",                  56                           "TXD0",
 57                           "RXD0",                  57                           "RXD0",
 58                           "GPIO16",                58                           "GPIO16",
 59                           "GPIO17",                59                           "GPIO17",
 60                           "GPIO18",                60                           "GPIO18",
 61                           "GPIO19",                61                           "GPIO19",
 62                           "GPIO20",                62                           "GPIO20",
 63                           "GPIO21",                63                           "GPIO21",
 64                           "GPIO22",                64                           "GPIO22",
 65                           "GPIO23",                65                           "GPIO23",
 66                           "GPIO24",                66                           "GPIO24",
 67                           "GPIO25",                67                           "GPIO25",
 68                           "GPIO26",                68                           "GPIO26",
 69                           "GPIO27",                69                           "GPIO27",
 70                           "HDMI_HPD_N",            70                           "HDMI_HPD_N",
 71                           "STATUS_LED_N",          71                           "STATUS_LED_N",
 72                           "NC", /* GPIO30 */       72                           "NC", /* GPIO30 */
 73                           "NC", /* GPIO31 */       73                           "NC", /* GPIO31 */
 74                           "NC", /* GPIO32 */       74                           "NC", /* GPIO32 */
 75                           "NC", /* GPIO33 */       75                           "NC", /* GPIO33 */
 76                           "NC", /* GPIO34 */       76                           "NC", /* GPIO34 */
 77                           "NC", /* GPIO35 */       77                           "NC", /* GPIO35 */
 78                           "NC", /* GPIO36 */       78                           "NC", /* GPIO36 */
 79                           "NC", /* GPIO37 */       79                           "NC", /* GPIO37 */
 80                           "NC", /* GPIO38 */       80                           "NC", /* GPIO38 */
 81                           "NC", /* GPIO39 */       81                           "NC", /* GPIO39 */
 82                           "CAM_GPIO0", /* GPIO     82                           "CAM_GPIO0", /* GPIO40 */
 83                           "WL_ON", /* GPIO41 *     83                           "WL_ON", /* GPIO41 */
 84                           "BT_ON", /* GPIO42 *     84                           "BT_ON", /* GPIO42 */
 85                           "WIFI_CLK", /* GPIO4     85                           "WIFI_CLK", /* GPIO43 */
 86                           "SDA0", /* GPIO44 */     86                           "SDA0", /* GPIO44 */
 87                           "SCL0", /* GPIO45 */     87                           "SCL0", /* GPIO45 */
 88                           "SMPS_SCL",              88                           "SMPS_SCL",
 89                           "SMPS_SDA",              89                           "SMPS_SDA",
 90                           /* Used by SD Card *     90                           /* Used by SD Card */
 91                           "SD_CLK_R",              91                           "SD_CLK_R",
 92                           "SD_CMD_R",              92                           "SD_CMD_R",
 93                           "SD_DATA0_R",            93                           "SD_DATA0_R",
 94                           "SD_DATA1_R",            94                           "SD_DATA1_R",
 95                           "SD_DATA2_R",            95                           "SD_DATA2_R",
 96                           "SD_DATA3_R";            96                           "SD_DATA3_R";
 97                                                    97 
 98         pinctrl-names = "default";                 98         pinctrl-names = "default";
 99         pinctrl-0 = <&gpioout &alt0>;              99         pinctrl-0 = <&gpioout &alt0>;
100 };                                                100 };
101                                                   101 
102 &hdmi {                                           102 &hdmi {
103         hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>    103         hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
104         power-domains = <&power RPI_POWER_DOMA    104         power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
105         status = "okay";                          105         status = "okay";
106 };                                                106 };
107                                                   107 
108 &led_act {                                        108 &led_act {
109         gpios = <&gpio 29 GPIO_ACTIVE_LOW>;       109         gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
110 };                                                110 };
111                                                   111 
112 &sdhci {                                          112 &sdhci {
113         pinctrl-names = "default";                113         pinctrl-names = "default";
114         pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio    114         pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>;
115 };                                                115 };
116                                                   116 
117 &sdhost {                                         117 &sdhost {
118         pinctrl-names = "default";                118         pinctrl-names = "default";
119         pinctrl-0 = <&sdhost_gpio48>;             119         pinctrl-0 = <&sdhost_gpio48>;
120         bus-width = <4>;                          120         bus-width = <4>;
121         status = "okay";                          121         status = "okay";
122 };                                                122 };
123                                                   123 
124 &uart0 {                                          124 &uart0 {
125         pinctrl-names = "default";                125         pinctrl-names = "default";
126         pinctrl-0 = <&uart0_gpio32 &uart0_ctsr    126         pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
127 };                                                127 };
128                                                   128 
129 &uart1 {                                          129 &uart1 {
130         pinctrl-names = "default";                130         pinctrl-names = "default";
131         pinctrl-0 = <&uart1_gpio14>;              131         pinctrl-0 = <&uart1_gpio14>;
132         status = "okay";                          132         status = "okay";
133 };                                                133 };
134                                                   134 
135 &wifi_pwrseq {                                    135 &wifi_pwrseq {
136         reset-gpios = <&gpio 41 GPIO_ACTIVE_LO    136         reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
137 };                                                137 };
                                                      

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