mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
93c5a5b179
The gpio controller node inherited from pxa2xx.dtsi won't work for pxa3xx SoCs, so let's override it in pxa3xx.dtsi. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de>
44 lines
928 B
Plaintext
44 lines
928 B
Plaintext
/* The pxa3xx skeleton simply augments the 2xx version */
|
|
/include/ "pxa2xx.dtsi"
|
|
|
|
/ {
|
|
model = "Marvell PXA3xx familiy SoC";
|
|
compatible = "marvell,pxa3xx";
|
|
|
|
pxabus {
|
|
pwri2c: i2c@40f500c0 {
|
|
compatible = "mrvl,pwri2c";
|
|
reg = <0x40f500c0 0x30>;
|
|
interrupts = <6>;
|
|
#address-cells = <0x1>;
|
|
#size-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
nand0: nand@43100000 {
|
|
compatible = "marvell,pxa3xx-nand";
|
|
reg = <0x43100000 90>;
|
|
interrupts = <45>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
status = "disabled";
|
|
};
|
|
|
|
pxairq: interrupt-controller@40d00000 {
|
|
marvell,intc-priority;
|
|
marvell,intc-nr-irqs = <56>;
|
|
};
|
|
|
|
gpio: gpio@40e00000 {
|
|
compatible = "intel,pxa3xx-gpio";
|
|
reg = <0x40e00000 0x10000>;
|
|
interrupt-names = "gpio0", "gpio1", "gpio_mux";
|
|
interrupts = <8 9 10>;
|
|
gpio-controller;
|
|
#gpio-cells = <0x2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <0x2>;
|
|
};
|
|
};
|
|
};
|