Skip to content

Commit

Permalink
mips: mt76xx: Add GPIO DT nodes to mt7628a.dtsi
Browse files Browse the repository at this point in the history
Add the GPIO DT nodes to the DTS file.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
  • Loading branch information
stroese authored and danielschwierzeck committed Nov 18, 2018
1 parent 82dbe64 commit 60f6be1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions arch/mips/dts/mt7628a.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 60f6be1

Please sign in to comment.