Skip to content

Commit 76afd7d

Browse files
ZhaoQiang-b45475Shawn Guo
authored andcommitted
arm64: dts: add qe node to ls1043ardb
Add qe node to fsl-ls1043a.dtsi and fsl-ls1043a-rdb.dts Signed-off-by: Zhao Qiang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 0d99633 commit 76afd7d

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,19 @@
177177
};
178178
};
179179
};
180+
181+
&uqe {
182+
ucc_hdlc: ucc@2000 {
183+
compatible = "fsl,ucc-hdlc";
184+
rx-clock-name = "clk8";
185+
tx-clock-name = "clk9";
186+
fsl,rx-sync-clock = "rsync_pin";
187+
fsl,tx-sync-clock = "tsync_pin";
188+
fsl,tx-timeslot-mask = <0xfffffffe>;
189+
fsl,rx-timeslot-mask = <0xfffffffe>;
190+
fsl,tdm-framer-type = "e1";
191+
fsl,tdm-id = <0>;
192+
fsl,siram-entry-id = <0>;
193+
fsl,tdm-interface;
194+
};
195+
};

arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,71 @@
525525
#interrupt-cells = <2>;
526526
};
527527

528+
uqe: uqe@2400000 {
529+
#address-cells = <1>;
530+
#size-cells = <1>;
531+
compatible = "fsl,qe", "simple-bus";
532+
ranges = <0x0 0x0 0x2400000 0x40000>;
533+
reg = <0x0 0x2400000 0x0 0x480>;
534+
brg-frequency = <100000000>;
535+
bus-frequency = <200000000>;
536+
fsl,qe-num-riscs = <1>;
537+
fsl,qe-num-snums = <28>;
538+
539+
qeic: qeic@80 {
540+
compatible = "fsl,qe-ic";
541+
reg = <0x80 0x80>;
542+
#address-cells = <0>;
543+
interrupt-controller;
544+
#interrupt-cells = <1>;
545+
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
546+
<GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
547+
};
548+
549+
si1: si@700 {
550+
#address-cells = <1>;
551+
#size-cells = <0>;
552+
compatible = "fsl,ls1043-qe-si",
553+
"fsl,t1040-qe-si";
554+
reg = <0x700 0x80>;
555+
};
556+
557+
siram1: siram@1000 {
558+
#address-cells = <1>;
559+
#size-cells = <1>;
560+
compatible = "fsl,ls1043-qe-siram",
561+
"fsl,t1040-qe-siram";
562+
reg = <0x1000 0x800>;
563+
};
564+
565+
ucc@2000 {
566+
cell-index = <1>;
567+
reg = <0x2000 0x200>;
568+
interrupts = <32>;
569+
interrupt-parent = <&qeic>;
570+
};
571+
572+
ucc@2200 {
573+
cell-index = <3>;
574+
reg = <0x2200 0x200>;
575+
interrupts = <34>;
576+
interrupt-parent = <&qeic>;
577+
};
578+
579+
muram@10000 {
580+
#address-cells = <1>;
581+
#size-cells = <1>;
582+
compatible = "fsl,qe-muram", "fsl,cpm-muram";
583+
ranges = <0x0 0x10000 0x6000>;
584+
585+
data-only@0 {
586+
compatible = "fsl,qe-muram-data",
587+
"fsl,cpm-muram-data";
588+
reg = <0x0 0x6000>;
589+
};
590+
};
591+
};
592+
528593
lpuart0: serial@2950000 {
529594
compatible = "fsl,ls1021a-lpuart";
530595
reg = <0x0 0x2950000 0x0 0x1000>;

0 commit comments

Comments
 (0)