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

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


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;                                           2 /dts-v1/;
  3 #include "bcm2837.dtsi"                             3 #include "bcm2837.dtsi"
  4 #include "bcm2836-rpi.dtsi"                         4 #include "bcm2836-rpi.dtsi"
  5 #include "bcm283x-rpi-led-deprecated.dtsi"          5 #include "bcm283x-rpi-led-deprecated.dtsi"
  6 #include "bcm283x-rpi-smsc9514.dtsi"                6 #include "bcm283x-rpi-smsc9514.dtsi"
  7 #include "bcm283x-rpi-usb-host.dtsi"                7 #include "bcm283x-rpi-usb-host.dtsi"
  8 #include "bcm283x-rpi-wifi-bt.dtsi"                 8 #include "bcm283x-rpi-wifi-bt.dtsi"
  9                                                     9 
 10 / {                                                10 / {
 11         compatible = "raspberrypi,3-model-b",      11         compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
 12         model = "Raspberry Pi 3 Model B";          12         model = "Raspberry Pi 3 Model B";
 13                                                    13 
 14         chosen {                                   14         chosen {
 15                 /* 8250 auxiliary UART instead     15                 /* 8250 auxiliary UART instead of pl011 */
 16                 stdout-path = "serial1:115200n     16                 stdout-path = "serial1:115200n8";
 17         };                                         17         };
 18                                                    18 
 19         memory@0 {                                 19         memory@0 {
 20                 device_type = "memory";            20                 device_type = "memory";
 21                 reg = <0 0x40000000>;              21                 reg = <0 0x40000000>;
 22         };                                         22         };
 23 };                                                 23 };
 24                                                    24 
 25 &bt {                                              25 &bt {
 26         shutdown-gpios = <&expgpio 0 GPIO_ACTI     26         shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
 27 };                                                 27 };
 28                                                    28 
 29 &firmware {                                        29 &firmware {
 30         expgpio: gpio {                            30         expgpio: gpio {
 31                 compatible = "raspberrypi,firm     31                 compatible = "raspberrypi,firmware-gpio";
 32                 gpio-controller;                   32                 gpio-controller;
 33                 #gpio-cells = <2>;                 33                 #gpio-cells = <2>;
 34                 gpio-line-names = "BT_ON",         34                 gpio-line-names = "BT_ON",
 35                                   "WL_ON",         35                                   "WL_ON",
 36                                   "STATUS_LED"     36                                   "STATUS_LED",
 37                                   "LAN_RUN",       37                                   "LAN_RUN",
 38                                   "HDMI_HPD_N"     38                                   "HDMI_HPD_N",
 39                                   "CAM_GPIO0",     39                                   "CAM_GPIO0",
 40                                   "CAM_GPIO1",     40                                   "CAM_GPIO1",
 41                                   "PWR_LOW_N";     41                                   "PWR_LOW_N";
 42                 status = "okay";                   42                 status = "okay";
 43         };                                         43         };
 44 };                                                 44 };
 45                                                    45 
 46 &gpio {                                            46 &gpio {
 47         /*                                         47         /*
 48          * Taken from rpi_SCH_3b_1p2_reduced.p     48          * Taken from rpi_SCH_3b_1p2_reduced.pdf and
 49          * the official GPU firmware DT blob.      49          * the official GPU firmware DT blob.
 50          *                                         50          *
 51          * Legend:                                 51          * Legend:
 52          * "FOO" = GPIO line named "FOO" on th     52          * "FOO" = GPIO line named "FOO" on the schematic
 53          * "FOO_N" = GPIO line named "FOO" on      53          * "FOO_N" = GPIO line named "FOO" on schematic, active low
 54          */                                        54          */
 55         gpio-line-names = "ID_SDA",                55         gpio-line-names = "ID_SDA",
 56                           "ID_SCL",                56                           "ID_SCL",
 57                           "SDA1",                  57                           "SDA1",
 58                           "SCL1",                  58                           "SCL1",
 59                           "GPIO_GCLK",             59                           "GPIO_GCLK",
 60                           "GPIO5",                 60                           "GPIO5",
 61                           "GPIO6",                 61                           "GPIO6",
 62                           "SPI_CE1_N",             62                           "SPI_CE1_N",
 63                           "SPI_CE0_N",             63                           "SPI_CE0_N",
 64                           "SPI_MISO",              64                           "SPI_MISO",
 65                           "SPI_MOSI",              65                           "SPI_MOSI",
 66                           "SPI_SCLK",              66                           "SPI_SCLK",
 67                           "GPIO12",                67                           "GPIO12",
 68                           "GPIO13",                68                           "GPIO13",
 69                           /* Serial port */        69                           /* Serial port */
 70                           "TXD1",                  70                           "TXD1",
 71                           "RXD1",                  71                           "RXD1",
 72                           "GPIO16",                72                           "GPIO16",
 73                           "GPIO17",                73                           "GPIO17",
 74                           "GPIO18",                74                           "GPIO18",
 75                           "GPIO19",                75                           "GPIO19",
 76                           "GPIO20",                76                           "GPIO20",
 77                           "GPIO21",                77                           "GPIO21",
 78                           "GPIO22",                78                           "GPIO22",
 79                           "GPIO23",                79                           "GPIO23",
 80                           "GPIO24",                80                           "GPIO24",
 81                           "GPIO25",                81                           "GPIO25",
 82                           "GPIO26",                82                           "GPIO26",
 83                           "GPIO27",                83                           "GPIO27",
 84                           "", /* GPIO 28 */        84                           "", /* GPIO 28 */
 85                           "LAN_RUN_BOOT",          85                           "LAN_RUN_BOOT",
 86                           /* Used by BT module     86                           /* Used by BT module */
 87                           "CTS0",                  87                           "CTS0",
 88                           "RTS0",                  88                           "RTS0",
 89                           "TXD0",                  89                           "TXD0",
 90                           "RXD0",                  90                           "RXD0",
 91                           /* Used by Wifi */       91                           /* Used by Wifi */
 92                           "SD1_CLK",               92                           "SD1_CLK",
 93                           "SD1_CMD",               93                           "SD1_CMD",
 94                           "SD1_DATA0",             94                           "SD1_DATA0",
 95                           "SD1_DATA1",             95                           "SD1_DATA1",
 96                           "SD1_DATA2",             96                           "SD1_DATA2",
 97                           "SD1_DATA3",             97                           "SD1_DATA3",
 98                           "PWM0_OUT",              98                           "PWM0_OUT",
 99                           "PWM1_OUT",              99                           "PWM1_OUT",
100                           "ETH_CLK",              100                           "ETH_CLK",
101                           "WIFI_CLK",             101                           "WIFI_CLK",
102                           "SDA0",                 102                           "SDA0",
103                           "SCL0",                 103                           "SCL0",
104                           "SMPS_SCL",             104                           "SMPS_SCL",
105                           "SMPS_SDA",             105                           "SMPS_SDA",
106                           /* Used by SD Card *    106                           /* Used by SD Card */
107                           "SD_CLK_R",             107                           "SD_CLK_R",
108                           "SD_CMD_R",             108                           "SD_CMD_R",
109                           "SD_DATA0_R",           109                           "SD_DATA0_R",
110                           "SD_DATA1_R",           110                           "SD_DATA1_R",
111                           "SD_DATA2_R",           111                           "SD_DATA2_R",
112                           "SD_DATA3_R";           112                           "SD_DATA3_R";
113 };                                                113 };
114                                                   114 
115 &pwm {                                            115 &pwm {
116         pinctrl-names = "default";                116         pinctrl-names = "default";
117         pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41    117         pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
118         status = "okay";                          118         status = "okay";
119 };                                                119 };
120                                                   120 
121 &hdmi {                                           121 &hdmi {
122         hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LO    122         hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
123         power-domains = <&power RPI_POWER_DOMA    123         power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
124         status = "okay";                          124         status = "okay";
125 };                                                125 };
126                                                   126 
127 &led_act {                                        127 &led_act {
128         gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;    128         gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
129 };                                                129 };
130                                                   130 
131 /* uart0 communicates with the BT module */       131 /* uart0 communicates with the BT module */
132 &uart0 {                                          132 &uart0 {
133         pinctrl-names = "default";                133         pinctrl-names = "default";
134         pinctrl-0 = <&uart0_gpio32 &gpclk2_gpi    134         pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
135 };                                                135 };
136                                                   136 
137 /* uart1 is mapped to the pin header */           137 /* uart1 is mapped to the pin header */
138 &uart1 {                                          138 &uart1 {
139         pinctrl-names = "default";                139         pinctrl-names = "default";
140         pinctrl-0 = <&uart1_gpio14>;              140         pinctrl-0 = <&uart1_gpio14>;
141         status = "okay";                          141         status = "okay";
142 };                                                142 };
143                                                   143 
144 /* SDHOST is used to drive the SD card */         144 /* SDHOST is used to drive the SD card */
145 &sdhost {                                         145 &sdhost {
146         pinctrl-names = "default";                146         pinctrl-names = "default";
147         pinctrl-0 = <&sdhost_gpio48>;             147         pinctrl-0 = <&sdhost_gpio48>;
148         status = "okay";                          148         status = "okay";
149         bus-width = <4>;                          149         bus-width = <4>;
150 };                                                150 };
151                                                   151 
152 &wifi_pwrseq {                                    152 &wifi_pwrseq {
153         reset-gpios = <&expgpio 1 GPIO_ACTIVE_    153         reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
154 };                                                154 };
                                                      

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