mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 05:55:02 +08:00
ba2a1d6959
The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the I2S interface. Signed-off-by: Matthias Klein <matthias.klein@linux.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
31 lines
485 B
Plaintext
31 lines
485 B
Plaintext
/dts-v1/;
|
|
/include/ "bcm2835-rpi.dtsi"
|
|
|
|
/ {
|
|
compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
|
|
model = "Raspberry Pi Model B+";
|
|
|
|
leds {
|
|
act {
|
|
gpios = <&gpio 47 0>;
|
|
};
|
|
|
|
pwr {
|
|
label = "PWR";
|
|
gpios = <&gpio 35 0>;
|
|
default-state = "keep";
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
|
|
|
|
/* I2S interface */
|
|
i2s_alt0: i2s_alt0 {
|
|
brcm,pins = <18 19 20 21>;
|
|
brcm,function = <4>; /* alt0 */
|
|
};
|
|
};
|