Skip to content

Commit 39deee1

Browse files
dts: microchip: sam: add pio device to sama7g5
Add pioa, piob, pioc, piod and pioe devices to sama7g5 Signed-off-by: Xing Chen <xing.chen@microchip.com>
1 parent 33c35da commit 39deee1

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

dts/arm/microchip/sam/sama7g5.dtsi

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,60 @@
429429
pinctrl: pinctrl@e0014000 {
430430
compatible = "microchip,sama7g5-pinctrl";
431431
reg = <0xe0014000 0x800>;
432+
#address-cells = <1>;
433+
#size-cells = <1>;
434+
ranges = <0xe0014000 0xe0014000 0x800>;
435+
436+
pioa: gpio@e0014000 {
437+
compatible = "microchip,sam-pio4";
438+
reg = <0xe0014000 0x40>;
439+
interrupt-parent = <&gic>;
440+
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
441+
gpio-controller;
442+
#gpio-cells = <2>;
443+
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
444+
};
445+
446+
piob: gpio@e0014040 {
447+
compatible = "microchip,sam-pio4";
448+
reg = <0xe0014040 0x40>;
449+
interrupt-parent = <&gic>;
450+
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
451+
gpio-controller;
452+
#gpio-cells = <2>;
453+
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
454+
};
455+
456+
pioc: gpio@e0014080 {
457+
compatible = "microchip,sam-pio4";
458+
reg = <0xe0014080 0x40>;
459+
interrupt-parent = <&gic>;
460+
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
461+
gpio-controller;
462+
#gpio-cells = <2>;
463+
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
464+
};
465+
466+
piod: gpio@e00140c0 {
467+
compatible = "microchip,sam-pio4";
468+
reg = <0xe00140c0 0x40>;
469+
interrupt-parent = <&gic>;
470+
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
471+
gpio-controller;
472+
#gpio-cells = <2>;
473+
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
474+
};
475+
476+
pioe: gpio@e0014100 {
477+
compatible = "microchip,sam-pio4";
478+
reg = <0xe0014100 0x40>;
479+
interrupt-parent = <&gic>;
480+
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
481+
gpio-controller;
482+
#gpio-cells = <2>;
483+
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
484+
gpio-reserved-ranges = <8 24>;
485+
};
432486
};
433487

434488
pit64b0: timer@e1800000 {

0 commit comments

Comments
 (0)