3 #include "bcm2708.dtsi"
4 #include "bcm2708-rpi.dtsi"
5 #include "bcm283x-rpi-smsc9512.dtsi"
6 #include "bcm283x-rpi-csi1-2lane.dtsi"
7 #include "bcm283x-rpi-i2c0mux_0_28.dtsi"
8 #include "bcm283x-rpi-led-deprecated.dtsi"
11 compatible = "raspberrypi,model-b", "brcm,bcm2835";
12 model = "Raspberry Pi Model B";
17 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf
21 * "NC" = not connected (no rail from the SoC)
22 * "FOO" = GPIO line named "FOO" on the schematic
23 * "FOO_N" = GPIO line named "FOO" on schematic, active low
25 gpio-line-names = "SDA0",
82 spi0_pins: spi0_pins {
83 brcm,pins = <9 10 11>;
84 brcm,function = <4>; /* alt0 */
87 spi0_cs_pins: spi0_cs_pins {
89 brcm,function = <1>; /* output */
103 brcm,pins = <28 29 30 31>;
104 brcm,function = <6>; /* alt2 */
107 audio_pins: audio_pins {
119 pinctrl-names = "default";
120 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
121 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
124 compatible = "spidev";
126 #address-cells = <1>;
128 spi-max-frequency = <125000000>;
132 compatible = "spidev";
134 #address-cells = <1>;
136 spi-max-frequency = <125000000>;
141 clock-frequency = <100000>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&i2c1_pins>;
147 clock-frequency = <100000>;
151 clock-frequency = <100000>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&i2s_pins>;
160 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
161 default-state = "off";
162 linux,default-trigger = "mmc0";
166 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&audio_pins>;
175 gpio = <&gpio 21 GPIO_ACTIVE_HIGH>;
178 cam0_reg: &cam_dummy_reg {
189 audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}";
191 act_led_gpio = <&led_act>,"gpios:4";
192 act_led_activelow = <&led_act>,"gpios:8";
193 act_led_trigger = <&led_act>,"linux,default-trigger";