Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Netlogic: add device tree entry for XLP GPIO

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>

authored by

Kamlakant Patel and committed by
Ralf Baechle
a8a74776 325f0a18

+58
+12
arch/mips/boot/dts/netlogic/xlp_evp.dts
··· 110 110 read-only; 111 111 }; 112 112 }; 113 + 114 + gpio: xlp_gpio@34100 { 115 + compatible = "netlogic,xlp832-gpio"; 116 + reg = <0 0x34100 0x1000>; 117 + #gpio-cells = <2>; 118 + gpio-controller; 119 + 120 + #interrupt-cells = <2>; 121 + interrupt-parent = <&pic>; 122 + interrupts = <39>; 123 + interrupt-controller; 124 + }; 113 125 }; 114 126 115 127 chosen {
+12
arch/mips/boot/dts/netlogic/xlp_fvp.dts
··· 110 110 read-only; 111 111 }; 112 112 }; 113 + 114 + gpio: xlp_gpio@34100 { 115 + compatible = "netlogic,xlp208-gpio"; 116 + reg = <0 0x34100 0x1000>; 117 + #gpio-cells = <2>; 118 + gpio-controller; 119 + 120 + #interrupt-cells = <2>; 121 + interrupt-parent = <&pic>; 122 + interrupts = <39>; 123 + interrupt-controller; 124 + }; 113 125 }; 114 126 115 127 chosen {
+11
arch/mips/boot/dts/netlogic/xlp_gvp.dts
··· 69 69 }; 70 70 }; 71 71 72 + gpio: xlp_gpio@114100 { 73 + compatible = "netlogic,xlp980-gpio"; 74 + reg = <0 0x114100 0x1000>; 75 + #gpio-cells = <2>; 76 + gpio-controller; 77 + 78 + #interrupt-cells = <2>; 79 + interrupt-parent = <&pic>; 80 + interrupts = <39>; 81 + interrupt-controller; 82 + }; 72 83 }; 73 84 74 85 chosen {
+11
arch/mips/boot/dts/netlogic/xlp_rvp.dts
··· 69 69 }; 70 70 }; 71 71 72 + gpio: xlp_gpio@114100 { 73 + compatible = "netlogic,xlp532-gpio"; 74 + reg = <0 0x114100 0x1000>; 75 + #gpio-cells = <2>; 76 + gpio-controller; 77 + 78 + #interrupt-cells = <2>; 79 + interrupt-parent = <&pic>; 80 + interrupts = <39>; 81 + interrupt-controller; 82 + }; 72 83 }; 73 84 74 85 chosen {
+12
arch/mips/boot/dts/netlogic/xlp_svp.dts
··· 110 110 read-only; 111 111 }; 112 112 }; 113 + 114 + gpio: xlp_gpio@34100 { 115 + compatible = "netlogic,xlp316-gpio"; 116 + reg = <0 0x34100 0x1000>; 117 + #gpio-cells = <2>; 118 + gpio-controller; 119 + 120 + #interrupt-cells = <2>; 121 + interrupt-parent = <&pic>; 122 + interrupts = <39>; 123 + interrupt-controller; 124 + }; 113 125 }; 114 126 115 127 chosen {