Skip to content

Commit

Permalink
MIPS: Netlogic: add device tree entry for XLP GPIO
Browse files Browse the repository at this point in the history
Add GPIO entries to the Netlogic XLP device tree files.

Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10819/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Kamlakant Patel authored and Ralf Baechle committed Sep 3, 2015
1 parent 325f0a1 commit a8a7477
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/mips/boot/dts/netlogic/xlp_evp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@
read-only;
};
};

gpio: xlp_gpio@34100 {
compatible = "netlogic,xlp832-gpio";
reg = <0 0x34100 0x1000>;
#gpio-cells = <2>;
gpio-controller;

#interrupt-cells = <2>;
interrupt-parent = <&pic>;
interrupts = <39>;
interrupt-controller;
};
};

chosen {
Expand Down
12 changes: 12 additions & 0 deletions arch/mips/boot/dts/netlogic/xlp_fvp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@
read-only;
};
};

gpio: xlp_gpio@34100 {
compatible = "netlogic,xlp208-gpio";
reg = <0 0x34100 0x1000>;
#gpio-cells = <2>;
gpio-controller;

#interrupt-cells = <2>;
interrupt-parent = <&pic>;
interrupts = <39>;
interrupt-controller;
};
};

chosen {
Expand Down
11 changes: 11 additions & 0 deletions arch/mips/boot/dts/netlogic/xlp_gvp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@
};
};

gpio: xlp_gpio@114100 {
compatible = "netlogic,xlp980-gpio";
reg = <0 0x114100 0x1000>;
#gpio-cells = <2>;
gpio-controller;

#interrupt-cells = <2>;
interrupt-parent = <&pic>;
interrupts = <39>;
interrupt-controller;
};
};

chosen {
Expand Down
11 changes: 11 additions & 0 deletions arch/mips/boot/dts/netlogic/xlp_rvp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@
};
};

gpio: xlp_gpio@114100 {
compatible = "netlogic,xlp532-gpio";
reg = <0 0x114100 0x1000>;
#gpio-cells = <2>;
gpio-controller;

#interrupt-cells = <2>;
interrupt-parent = <&pic>;
interrupts = <39>;
interrupt-controller;
};
};

chosen {
Expand Down
12 changes: 12 additions & 0 deletions arch/mips/boot/dts/netlogic/xlp_svp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@
read-only;
};
};

gpio: xlp_gpio@34100 {
compatible = "netlogic,xlp316-gpio";
reg = <0 0x34100 0x1000>;
#gpio-cells = <2>;
gpio-controller;

#interrupt-cells = <2>;
interrupt-parent = <&pic>;
interrupts = <39>;
interrupt-controller;
};
};

chosen {
Expand Down

0 comments on commit a8a7477

Please sign in to comment.