[PATCH] ARM: bcm2835: dt: Add Raspberry Pi Zero

Eric Anholt eric at anholt.net
Wed Feb 17 19:02:21 PST 2016


Stefan Wahren <stefan.wahren at i2se.com> writes:

> Hi Lubomir,
>
>> Lubomir Rintel <lkundrak at v3.sk> hat am 4. Februar 2016 um 08:39 geschrieben:
>>
>>
>> Notable difference from the other Raspberry Pi boards is the lack of PWR LED.
>>
>> Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
>> ---
>> arch/arm/boot/dts/Makefile | 3 ++-
>> arch/arm/boot/dts/bcm2835-rpi-zero.dts | 24 ++++++++++++++++++++++++
>> 2 files changed, 26 insertions(+), 1 deletion(-)
>> create mode 100644 arch/arm/boot/dts/bcm2835-rpi-zero.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index d000814..5d38b88 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -64,7 +64,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
>> bcm2835-rpi-b-rev2.dtb \
>> bcm2835-rpi-b-plus.dtb \
>> bcm2835-rpi-a-plus.dtb \
>> - bcm2836-rpi-2-b.dtb
>> + bcm2836-rpi-2-b.dtb \
>> + bcm2835-rpi-zero.dtb
>> dtb-$(CONFIG_ARCH_BCM_5301X) += \
>> bcm4708-asus-rt-ac56u.dtb \
>> bcm4708-asus-rt-ac68u.dtb \
>> diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero.dts
>> b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
>> new file mode 100644
>> index 0000000..f9afc1a
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
>> @@ -0,0 +1,24 @@
>> +/dts-v1/;
>> +#include "bcm2835.dtsi"
>> +#include "bcm2835-rpi.dtsi"
>> +
>> +/ {
>> + compatible = "raspberrypi,model-zero", "brcm,bcm2835";
>
> please add this to
>
> Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt

If we can get this little bit fixed, I'd be happy to pull the patch.
The discussion of the LED behavior seemed like this was a reasonable way
to go.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20160217/2e4375ec/attachment.sig>


More information about the linux-rpi-kernel mailing list