forked from anholt/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: bcm2835: dt: Add Raspberry Pi Model A+
Essentially the same as B+. Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/dts-v1/; | ||
#include "bcm2835-rpi.dtsi" | ||
|
||
/ { | ||
compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; | ||
model = "Raspberry Pi Model A+"; | ||
|
||
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 = <BCM2835_FSEL_ALT0>; | ||
}; | ||
}; |