ARM: mvebu: kirkwood: add PogoPlug series 4 device tree
PATCH v2 2/2 ARM: mvebu: kirkwood: add PogoPlug series 4 device tree
This adds a device tree for the CloudEngines PogoPlug series 4 NAS device. Inspired by out-of-tree boardfiles from ArchLinux by Kevin Mihelich.
---
ChangeLog v1->v2:
- Use <dt-bindings/input/linux-event-codes.h>
- Specify default baud rate etc differently
- Rename LEDs "pogoplugv4*"
- Skip registering i2c0 as there is nothing on it
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts | 179 +++++++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -206,6 +206,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \ kirkwood-openrd-client.dtb \ kirkwood-openrd-ultimate.dtb \ kirkwood-pogo_e02.dtb \ + kirkwood-pogoplug-series-4.dtb \ kirkwood-rd88f6192.dtb \ kirkwood-rd88f6281-z0.dtb \ kirkwood-rd88f6281-a.dtb \
arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts new file +179 -0
179 lines not on this page · raw message
Signature · 1 line
2.4.3
PATCH v2 2/2 ARM: mvebu: kirkwood: add PogoPlug series 4 device tree
Hi Linus
arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts line 102
Quoted 4 lines
+&uart0 {
arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts new file +3
-0+ status = "okay"; + current-speed = <115200>; +};
You should not need this. There are no other DTS files with it. As far as i understand, the bootloader may add this to the DT blob before passing it to the kernel, but i doubt the stock bootloader on your device is doing it.
Otherwise this looks good.
Andrew
PATCH v2 2/2 ARM: mvebu: kirkwood: add PogoPlug series 4 device tree
Quoted 8 lines · Andrew Lunn
Hi Linus
arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts line 102
Quoted 4 lines
+&uart0 {
arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts new file +3
-0+ status = "okay"; + current-speed = <115200>; +};You should not need this. There are no other DTS files with it.
git grep 'current-speed' arch/arm/boot/dts
arch/arm/boot/dts/k2l.dtsi: current-speed = <115200>; arch/arm/boot/dts/k2l.dtsi: current-speed = <115200>; arch/arm/boot/dts/keystone.dtsi: current-speed
= <115200>;arch/arm/boot/dts/keystone.dtsi: current-speed
= <115200>;arch/arm/boot/dts/omap-zoom-common.dtsi: current-speed
= <115200>;arch/arm/boot/dts/omap-zoom-common.dtsi: current-speed
= <115200>;arch/arm/boot/dts/omap-zoom-common.dtsi: current-speed
= <115200>;arch/arm/boot/dts/omap-zoom-common.dtsi: current-speed
= <115200>;
Quoted 4 lines
As far
as i understand, the bootloader may add this to the DT blob before passing it to the kernel, but i doubt the stock bootloader on your device is doing it.
Sure I can drop it.
Yours,
Linus Walleij