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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm2835-rpi-a-plus.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/bcm2835-rpi-a-plus.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/broadcom/bcm2835-rpi-a-plus.dts (Architecture alpha)


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

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