diff options
author | Stefan Roese <sr@denx.de> | 2018-10-09 08:59:07 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2018-11-18 16:02:22 +0100 |
commit | 60f6be1241494f7fa76009d94bdaae0ed15e4767 (patch) | |
tree | f0f70203bdabe03188e0a2084c3570c4f84e66c3 | |
parent | 82dbe6483c6ff9ec08fde01ac73fbdde7d2e5797 (diff) | |
download | u-boot-60f6be1241494f7fa76009d94bdaae0ed15e4767.tar.gz u-boot-60f6be1241494f7fa76009d94bdaae0ed15e4767.tar.bz2 u-boot-60f6be1241494f7fa76009d94bdaae0ed15e4767.zip |
mips: mt76xx: Add GPIO DT nodes to mt7628a.dtsi
Add the GPIO DT nodes to the DTS file.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-rw-r--r-- | arch/mips/dts/mt7628a.dtsi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi index effb36681f..8da2ca3e4d 100644 --- a/arch/mips/dts/mt7628a.dtsi +++ b/arch/mips/dts/mt7628a.dtsi @@ -71,6 +71,38 @@ reg = <0x300 0x100>; }; + gpio@600 { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "mtk,mt7628-gpio", "mtk,mt7621-gpio"; + reg = <0x600 0x100>; + + interrupt-parent = <&intc>; + interrupts = <6>; + + gpio0: bank@0 { + reg = <0>; + compatible = "mtk,mt7621-gpio-bank"; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio1: bank@1 { + reg = <1>; + compatible = "mtk,mt7621-gpio-bank"; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio2: bank@2 { + reg = <2>; + compatible = "mtk,mt7621-gpio-bank"; + gpio-controller; + #gpio-cells = <2>; + }; + }; + spi0: spi@b00 { compatible = "ralink,mt7621-spi"; reg = <0xb00 0x40>; |