Skip to content

Commit b725bd2

Browse files
silabs-BastienBcfriedt
authored andcommitted
dts: arm: silabs: instantiate VDAC nodes for xg2x parts
Defines a VDAC node for xg23 and xg24 parts, which are all compatible with the silabs,vdac binding. Signed-off-by: Bastien Beauchamp <[email protected]>
1 parent 9dbbe3b commit b725bd2

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

dts/arm/silabs/xg23/xg23.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,24 @@
578578
clocks = <&cmu CLOCK_ACMP1 CLOCK_BRANCH_EM01GRPACLK>;
579579
status = "disabled";
580580
};
581+
582+
vdac0: vdac@59024000 {
583+
compatible = "silabs,vdac";
584+
reg = <0x59024000 0x4000>;
585+
interrupts = <55 2>;
586+
clocks = <&cmu CLOCK_VDAC0 CLOCK_BRANCH_VDAC0CLK>;
587+
status = "disabled";
588+
#address-cells = <1>;
589+
#size-cells = <0>;
590+
#io-channel-cells = <1>;
591+
592+
channel@0 {
593+
reg = <0>;
594+
};
595+
channel@1 {
596+
reg = <1>;
597+
};
598+
};
581599
};
582600

583601
hwinfo: hwinfo {

dts/arm/silabs/xg24/xg24.dtsi

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,42 @@
548548
clocks = <&cmu CLOCK_ACMP0 CLOCK_BRANCH_EM01GRPACLK>;
549549
status = "disabled";
550550
};
551+
552+
vdac0: vdac@59024000 {
553+
compatible = "silabs,vdac";
554+
reg = <0x59024000 0x4000>;
555+
interrupts = <72 2>;
556+
clocks = <&cmu CLOCK_VDAC0 CLOCK_BRANCH_VDAC0CLK>;
557+
status = "disabled";
558+
#address-cells = <1>;
559+
#size-cells = <0>;
560+
#io-channel-cells = <1>;
561+
562+
channel@0 {
563+
reg = <0>;
564+
};
565+
channel@1 {
566+
reg = <1>;
567+
};
568+
};
569+
570+
vdac1: vdac@59028000 {
571+
compatible = "silabs,vdac";
572+
reg = <0x59028000 0x4000>;
573+
interrupts = <73 2>;
574+
clocks = <&cmu CLOCK_VDAC1 CLOCK_BRANCH_VDAC1CLK>;
575+
status = "disabled";
576+
#address-cells = <1>;
577+
#size-cells = <0>;
578+
#io-channel-cells = <1>;
579+
580+
channel@0 {
581+
reg = <0>;
582+
};
583+
channel@1 {
584+
reg = <1>;
585+
};
586+
};
551587
};
552588
};
553589

0 commit comments

Comments
 (0)