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

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

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