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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 #include <dt-bindings/leds/common.h>
  4 #include "bcm2711-rpi-cm4.dtsi"
  5 #include "bcm283x-rpi-led-deprecated.dtsi"
  6 #include "bcm283x-rpi-usb-host.dtsi"
  7 
  8 / {
  9         model = "Raspberry Pi Compute Module 4 IO Board";
 10 };
 11 
 12 &ddc0 {
 13         status = "okay";
 14 };
 15 
 16 &ddc1 {
 17         status = "okay";
 18 };
 19 
 20 &gpio {
 21         /*
 22          * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and
 23          * the official GPU firmware DT blob.
 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                           "TXD1",
 45                           "RXD1",
 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                           "RGMII_MDIO",
 59                           "RGMIO_MDC",
 60                           /* Used by BT module */
 61                           "CTS0",
 62                           "RTS0",
 63                           "TXD0",
 64                           "RXD0",
 65                           /* Used by Wifi */
 66                           "SD1_CLK",
 67                           "SD1_CMD",
 68                           "SD1_DATA0",
 69                           "SD1_DATA1",
 70                           "SD1_DATA2",
 71                           "SD1_DATA3",
 72                           /* Shared with SPI flash */
 73                           "PWM0_MISO",
 74                           "PWM1_MOSI",
 75                           "STATUS_LED_G_CLK",
 76                           "SPIFLASH_CE_N",
 77                           "SDA0",
 78                           "SCL0",
 79                           "RGMII_RXCLK",
 80                           "RGMII_RXCTL",
 81                           "RGMII_RXD0",
 82                           "RGMII_RXD1",
 83                           "RGMII_RXD2",
 84                           "RGMII_RXD3",
 85                           "RGMII_TXCLK",
 86                           "RGMII_TXCTL",
 87                           "RGMII_TXD0",
 88                           "RGMII_TXD1",
 89                           "RGMII_TXD2",
 90                           "RGMII_TXD3";
 91 };
 92 
 93 &hdmi0 {
 94         status = "okay";
 95 };
 96 
 97 &hdmi1 {
 98         status = "okay";
 99 };
100 
101 &genet {
102         status = "okay";
103 };
104 
105 &i2c0_1 {
106         rtc@51 {
107                 /* Attention: An alarm resets the machine */
108                 compatible = "nxp,pcf85063a";
109                 reg = <0x51>;
110                 quartz-load-femtofarads = <7000>;
111         };
112 };
113 
114 &phy1 {
115         leds {
116                 #address-cells = <1>;
117                 #size-cells = <0>;
118 
119                 /* LED2 */
120                 led@1 {
121                         reg = <1>;
122                         color = <LED_COLOR_ID_GREEN>;
123                         function = LED_FUNCTION_LAN;
124                         default-state = "keep";
125                 };
126 
127                 /* LED3 */
128                 led@2 {
129                         reg = <2>;
130                         color = <LED_COLOR_ID_AMBER>;
131                         function = LED_FUNCTION_LAN;
132                         default-state = "keep";
133                 };
134         };
135 };
136 
137 &led_act {
138         gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
139 };
140 
141 &leds {
142         led-pwr {
143                 label = "PWR";
144                 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
145                 default-state = "keep";
146                 linux,default-trigger = "default-on";
147         };
148 };
149 
150 &pixelvalve0 {
151         status = "okay";
152 };
153 
154 &pixelvalve1 {
155         status = "okay";
156 };
157 
158 &pixelvalve2 {
159         status = "okay";
160 };
161 
162 &pixelvalve4 {
163         status = "okay";
164 };
165 
166 &vc4 {
167         status = "okay";
168 };
169 
170 &vec {
171         status = "disabled";
172 };

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