Linux Audio

Check our new training course

Loading...
v4.17
 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};
v6.2
 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	syscon@27000000 {
14		compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd";
15		reg = <0x27000000 0x4>;
16		ranges = <0x0 0x27000000 0x4>;
17		#address-cells = <1>;
18		#size-cells = <1>;
19
20		led@0,4 {
21			compatible = "register-bit-led";
22			reg = <0x00 0x04>;
23			offset = <0x00>;
24			mask = <0x10>;
25			label = "versatile-ib2:0";
26			linux,default-trigger = "heartbeat";
27			default-state = "on";
28		};
29	};
30};