ARM: dts: at91: sam9x60: Add missing pinctrl node properties
Add the missing properties for the pinctrl node and for its corresponding GPIO bank nodes to align with the Linux DT. Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com> Reviewed-by: Eugen Hristev <eugen.hristev@linaro.org>
This commit is contained in:

committed by
Eugen Hristev

parent
4e9eaf5371
commit
836bf51f91
@@ -212,43 +212,66 @@
|
|||||||
pinctrl: pinctrl@fffff400 {
|
pinctrl: pinctrl@fffff400 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "microchip,sam9x60-pinctrl", "simple-bus";
|
compatible = "microchip,sam9x60-pinctrl", "simple-mfd";
|
||||||
ranges = <0xfffff400 0xfffff400 0x800>;
|
ranges = <0xfffff400 0xfffff400 0x800>;
|
||||||
reg = <0xfffff400 0x200 /* pioA */
|
reg = <0xfffff400 0x200 /* pioA */
|
||||||
0xfffff600 0x200 /* pioB */
|
0xfffff600 0x200 /* pioB */
|
||||||
0xfffff800 0x200 /* pioC */
|
0xfffff800 0x200 /* pioC */
|
||||||
0xfffffa00 0x200>; /* pioD */
|
0xfffffa00 0x200>; /* pioD */
|
||||||
|
|
||||||
|
/* mux-mask corresponding to sam9x60 SoC in TFBGA228L package */
|
||||||
|
atmel,mux-mask = <
|
||||||
|
/* A B C */
|
||||||
|
0xffffffff 0xffe03fff 0xef00019d /* pioA */
|
||||||
|
0x03ffffff 0x02fc7e7f 0x00780000 /* pioB */
|
||||||
|
0xffffffff 0xffffffff 0xf83fffff /* pioC */
|
||||||
|
0x003fffff 0x003f8000 0x00000000 /* pioD */
|
||||||
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pioA: gpio@fffff400 {
|
pioA: gpio@fffff400 {
|
||||||
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
||||||
reg = <0xfffff400 0x200>;
|
reg = <0xfffff400 0x200>;
|
||||||
|
interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pioB: gpio@fffff600 {
|
pioB: gpio@fffff600 {
|
||||||
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
||||||
reg = <0xfffff600 0x200>;
|
reg = <0xfffff600 0x200>;
|
||||||
|
interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
#gpio-lines = <26>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pioC: gpio@fffff800 {
|
pioC: gpio@fffff800 {
|
||||||
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
||||||
reg = <0xfffff800 0x200>;
|
reg = <0xfffff800 0x200>;
|
||||||
|
interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pioD: gpio@fffffa00 {
|
pioD: gpio@fffffa00 {
|
||||||
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
|
||||||
reg = <0xfffffa00 0x200>;
|
reg = <0xfffffa00 0x200>;
|
||||||
|
interrupts = <44 IRQ_TYPE_LEVEL_HIGH 1>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
#gpio-lines = <22>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
|
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user