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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm2835-rpi-b-plus.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 #include "bcm2835.dtsi"
  4 #include "bcm2835-rpi.dtsi"
  5 #include "bcm2835-rpi-common.dtsi"
  6 #include "bcm283x-rpi-led-deprecated.dtsi"
  7 #include "bcm283x-rpi-smsc9514.dtsi"
  8 #include "bcm283x-rpi-usb-host.dtsi"
  9 
 10 / {
 11         compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
 12         model = "Raspberry Pi Model B+";
 13 
 14         memory@0 {
 15                 device_type = "memory";
 16                 reg = <0 0x20000000>;
 17         };
 18 };
 19 
 20 &gpio {
 21         /*
 22          * Taken from Raspberry-Pi-B-Plus-V1.2-Schematics.pdf
 23          * RPI-BPLUS sheet 1
 24          *
 25          * Legend:
 26          * "FOO" = GPIO line named "FOO" on the schematic
 27          * "FOO_N" = GPIO line named "FOO" on schematic, active low
 28          */
 29         gpio-line-names = "ID_SDA",
 30                           "ID_SCL",
 31                           "SDA1",
 32                           "SCL1",
 33                           "GPIO_GCLK",
 34                           "GPIO5",
 35                           "GPIO6",
 36                           "SPI_CE1_N",
 37                           "SPI_CE0_N",
 38                           "SPI_MISO",
 39                           "SPI_MOSI",
 40                           "SPI_SCLK",
 41                           "GPIO12",
 42                           "GPIO13",
 43                           /* Serial port */
 44                           "TXD0",
 45                           "RXD0",
 46                           "GPIO16",
 47                           "GPIO17",
 48                           "GPIO18",
 49                           "GPIO19",
 50                           "GPIO20",
 51                           "GPIO21",
 52                           "GPIO22",
 53                           "GPIO23",
 54                           "GPIO24",
 55                           "GPIO25",
 56                           "GPIO26",
 57                           "GPIO27",
 58                           "SDA0",
 59                           "SCL0",
 60                           "", /* GPIO30 */
 61                           "LAN_RUN", /* GPIO31 */
 62                           "CAM_GPIO1", /* GPIO32 */
 63                           "", /* GPIO33 */
 64                           "", /* GPIO34 */
 65                           "PWR_LOW_N", /* GPIO35 */
 66                           "", /* GPIO36 */
 67                           "", /* GPIO37 */
 68                           "USB_LIMIT", /* GPIO38 */
 69                           "", /* GPIO39 */
 70                           "PWM0_OUT", /* GPIO40 */
 71                           "CAM_GPIO0", /* GPIO41 */
 72                           "", /* GPIO42 */
 73                           "", /* GPIO43 */
 74                           "ETH_CLK", /* GPIO44 */
 75                           "PWM1_OUT", /* GPIO45 */
 76                           "HDMI_HPD_N",
 77                           "STATUS_LED",
 78                           /* Used by SD Card */
 79                           "SD_CLK_R",
 80                           "SD_CMD_R",
 81                           "SD_DATA0_R",
 82                           "SD_DATA1_R",
 83                           "SD_DATA2_R",
 84                           "SD_DATA3_R";
 85 
 86         pinctrl-names = "default";
 87         pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
 88 
 89         /* I2S interface */
 90         i2s_alt0: i2s_alt0 {
 91                 brcm,pins = <18 19 20 21>;
 92                 brcm,function = <BCM2835_FSEL_ALT0>;
 93         };
 94 };
 95 
 96 &hdmi {
 97         hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
 98         power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
 99         status = "okay";
100 };
101 
102 &led_act {
103         gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
104 };
105 
106 &leds {
107         led-pwr {
108                 label = "PWR";
109                 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
110                 default-state = "keep";
111                 linux,default-trigger = "default-on";
112         };
113 };
114 
115 &pwm {
116         pinctrl-names = "default";
117         pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
118         status = "okay";
119 };
120 
121 &sdhost {
122         pinctrl-names = "default";
123         pinctrl-0 = <&sdhost_gpio48>;
124         bus-width = <4>;
125         status = "okay";
126 };
127 
128 &uart0 {
129         pinctrl-names = "default";
130         pinctrl-0 = <&uart0_gpio14>;
131         status = "okay";
132 };

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