ARM: dts: Add devicetree for the Raspberry Pi 3, for arm32 (v4)
PATCH 1/1 ARM: dts: Add devicetree for the Raspberry Pi 3, for arm32 (v4)
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for now, so it's useful to be able to test that mode on an upstream kernel. It's also been useful for me to use the same board for 32-bit and 64-bit development.
---
v1: Gerd's patch that put the ../../../arm64/... link in the Makefile
v2: Michael's patch that #included from ../../../arm64/... in a new
bcm2837-rpi-3-b.dts.
v3: Mine, using symlinks to make sure that we don't break the split DT
tree.
v4: Rely on the new include/arm64 symlink.
Assuming positive review feedback, I assume it would be acceptable to merge the shared/dt-symlinks branch in a PR of my own for the 32-bit DT branch?
arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/Makefile +1 -0
@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-b-plus.dtb \ bcm2835-rpi-a-plus.dtb \ bcm2836-rpi-2-b.dtb \ + include/arm64/broadcom/bcm2837-rpi-3-b.dtb \ bcm2835-rpi-zero.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4708-asus-rt-ac56u.dtb \
Signature · 1 line
2.11.0
Quoted 10 lines · Eric Anholt
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for now, so it's useful to be able to test that mode on an upstream kernel. It's also been useful for me to use the same board for 32-bit and 64-bit development.
Signed-off-by Eric Anholt <[email protected]>---
v1: Gerd's patch that put the ../../../arm64/... link in the
Makefile
v2: Michael's patch that #included from ../../../arm64/... in a new
Quoted 8 lines
bcm2837-rpi-3-b.dts.v3: Mine, using symlinks to make sure that we don't break the split DT
tree.
v4: Rely on the newinclude/arm64symlink.Assuming positive review feedback, I assume it would be acceptable to merge the shared/dt-symlinks branch in a PR of my own for the 32-bit DT branch?
Either that, or I can take it directly through devicetree/next whichever you prefer. We have not gotten feedback on whether this looks acceptable or not though...
Quoted 17 lines
arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/Makefile +1
-0@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-b-plus.dtb \ bcm2835-rpi-a-plus.dtb \ bcm2836-rpi-2-b.dtb \ + include/arm64/broadcom/bcm2837-rpi-3-b.dtb \ bcm2835-rpi-zero.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4708-asus-rt-ac56u.dtb \
Signature · 1 line
Florian
Quoted 16 lines · Florian Fainelli
Quoted 15 lines · Eric Anholt
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for now, so it's useful to be able to test that mode on an upstream kernel. It's also been useful for me to use the same board for 32-bit and 64-bit development.
Signed-off-by Eric Anholt <[email protected]>---
v1: Gerd's patch that put the ../../../arm64/... link in the
Makefile
v2: Michael's patch that #included from ../../../arm64/... in a newbcm2837-rpi-3-b.dts.v3: Mine, using symlinks to make sure that we don't break the split DT
tree.
v4: Rely on the newinclude/arm64symlink.
Quoted 7 lines
Quoted 3 lines
Assuming positive review feedback, I assume it would be acceptable to merge the shared/dt-symlinks branch in a PR of my own for the 32-bit DT branch?
Either that, or I can take it directly through devicetree/next whichever you prefer. We have not gotten feedback on whether this looks acceptable or not though...
I would love if you could pull this patch, but it does require
shared/dt-symlinks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170420/ece011ff/attachment.sig>
Hi,
Quoted 27 lines · Eric Anholt
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for now, so it's useful to be able to test that mode on an upstream kernel. It's also been useful for me to use the same board for 32-bit and 64-bit development.
Signed-off-by Eric Anholt <[email protected]>---
v1: Gerd's patch that put the ../../../arm64/... link in the
Makefile
v2: Michael's patch that #included from ../../../arm64/... in a newbcm2837-rpi-3-b.dts.v3: Mine, using symlinks to make sure that we don't break the split DT
tree.
v4: Rely on the newinclude/arm64symlink.Assuming positive review feedback, I assume it would be acceptable to merge the shared/dt-symlinks branch in a PR of my own for the 32-bit DT branch?
arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/Makefile +0
-0
arch/arm/boot/dts/Makefile dtb-$(CONFIG_ARCH_BCM2835) += \ · line 75
Quoted 4 lines
arch/arm/boot/dts/Makefile +1
-0@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-b-plus.dtb \ bcm2835-rpi-a-plus.dtb \ bcm2836-rpi-2-b.dtb \ + include/arm64/broadcom/bcm2837-rpi-3-b.dtb \
Building straight out of (and into) the include dir is a little odd here.
A tiny wrapper *.dtb in this dir, that just includes a shared dts/dtsi would be a lot nicer.
If you do that, we can still pick it up for 4.12.
-Olof
Quoted 37 lines · Olof Johansson
Hi,
Quoted 27 lines · Eric Anholt
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for now, so it's useful to be able to test that mode on an upstream kernel. It's also been useful for me to use the same board for 32-bit and 64-bit development.
Signed-off-by Eric Anholt <[email protected]>---
v1: Gerd's patch that put the ../../../arm64/... link in the
Makefile
v2: Michael's patch that #included from ../../../arm64/... in a newbcm2837-rpi-3-b.dts.v3: Mine, using symlinks to make sure that we don't break the split DT
tree.
v4: Rely on the newinclude/arm64symlink.Assuming positive review feedback, I assume it would be acceptable to merge the shared/dt-symlinks branch in a PR of my own for the 32-bit DT branch?
arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/Makefile +0
-0arch/arm/boot/dts/Makefile dtb-$(CONFIG_ARCH_BCM2835) += \ · line 75
Quoted 4 lines
arch/arm/boot/dts/Makefile +1
-0@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-b-plus.dtb \ bcm2835-rpi-a-plus.dtb \ bcm2836-rpi-2-b.dtb \ + include/arm64/broadcom/bcm2837-rpi-3-b.dtb \Building straight out of (and into) the include dir is a little odd here.
Quoted 2 lines
A tiny wrapper *.dtb in this dir, that just includes a shared dts/dtsi would be a lot nicer.
OK, just sent a version with a #include.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170424/218c7c6b/attachment.sig>