diff options
author | Fabian Vogt <fvogt@suse.com> | 2016-09-26 14:26:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-28 20:09:49 -0500 |
commit | 460255842cc152753436f96cd6ba9d23ae28c43b (patch) | |
tree | 7bc7c0cd4303f9cd5130d8da69d3b53a02ade167 /arch/arm/dts/bcm2835-rpi-b-plus.dts | |
parent | 715dad6d7ede576bcd37fa6664226ec8ce58119a (diff) |
fdt: import bcm283x device tree sources from the linux kernel tree
This patch adds device trees for the bcm283x platform to be used with
OF_CONTROL. The version 4.8-rc7 of the linux kernel was used as source.
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Fabian Vogt <fvogt@suse.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/bcm2835-rpi-b-plus.dts')
-rw-r--r-- | arch/arm/dts/bcm2835-rpi-b-plus.dts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm2835-rpi-b-plus.dts b/arch/arm/dts/bcm2835-rpi-b-plus.dts new file mode 100644 index 0000000000..d5fdb8e761 --- /dev/null +++ b/arch/arm/dts/bcm2835-rpi-b-plus.dts @@ -0,0 +1,36 @@ +/dts-v1/; +#include "bcm2835.dtsi" +#include "bcm2835-rpi.dtsi" +#include "bcm283x-rpi-smsc9514.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 = <BCM2835_FSEL_ALT0>; + }; +}; + +&hdmi { + hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; +}; |