Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add Versatile IB2 device tree

The Versatile board can be equipped with a interface board
just named "IB2". This was created in the early 2000s for
prototyping GSM candybar phone form factor products.

The IB2 board contains:
- Cascaded interrupt controller
- Enfora Enabler GSM0308 quad-band module with antenna and
separate audio jack
- Keypad with joystick
- Sanyo 2.5" color display
- A 28-pin connector for mounting a camera

This adds a DTS file for the combination of the Versatile AB
with an IB2 daughterboard mounted, making the LED blink and
making the system controller available for drivers, such as
the panel driver.

The device tree bindings already exist in
Documentation/devicetree/bindings/arm/arm-boards.

Cc: Mali DP Maintainers <malidp@foss.arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+27
+1
arch/arm/boot/dts/Makefile
··· 1047 1047 uniphier-sld8-ref.dtb 1048 1048 dtb-$(CONFIG_ARCH_VERSATILE) += \ 1049 1049 versatile-ab.dtb \ 1050 + versatile-ab-ib2.dtb \ 1050 1051 versatile-pb.dtb 1051 1052 dtb-$(CONFIG_ARCH_VEXPRESS) += \ 1052 1053 vexpress-v2p-ca5s.dtb \
+26
arch/arm/boot/dts/versatile-ab-ib2.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * The Versatile AB with the IB2 expansion board mounted. 4 + * This works as a superset of the Versatile AB. 5 + */ 6 + 7 + #include "versatile-ab.dts" 8 + 9 + / { 10 + model = "ARM Versatile AB + IB2 board"; 11 + 12 + /* Special IB2 control register */ 13 + ib2_syscon@27000000 { 14 + compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; 15 + reg = <0x27000000 0x4>; 16 + 17 + led@00.4 { 18 + compatible = "register-bit-led"; 19 + offset = <0x00>; 20 + mask = <0x10>; 21 + label = "versatile-ib2:0"; 22 + linux,default-trigger = "heartbeat"; 23 + default-state = "on"; 24 + }; 25 + }; 26 + };