linux/arch/arm/boot/dts/versatile-ab-ib2.dts
Rob Herring 25b892b583
ARM: dts: arm: Update register-bit-led nodes 'reg' and node names
Add a 'reg' entry for register-bit-led nodes on the Arm Ltd platforms.
The 'reg' entry is the LED control register address. With this, the node
name can be updated to use a generic node name, 'led', and a
unit-address.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20211024232003.211484-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-10-26 17:20:41 +02:00

31 lines
668 B
Plaintext

// SPDX-License-Identifier: GPL-2.0
/*
* The Versatile AB with the IB2 expansion board mounted.
* This works as a superset of the Versatile AB.
*/
#include "versatile-ab.dts"
/ {
model = "ARM Versatile AB + IB2 board";
/* Special IB2 control register */
syscon@27000000 {
compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd";
reg = <0x27000000 0x4>;
ranges = <0x0 0x27000000 0x4>;
#address-cells = <1>;
#size-cells = <1>;
led@0,4 {
compatible = "register-bit-led";
reg = <0x00 0x04>;
offset = <0x00>;
mask = <0x10>;
label = "versatile-ib2:0";
linux,default-trigger = "heartbeat";
default-state = "on";
};
};
};