Skip to content

Commit

Permalink
arm64: dts: bitmain: Add pinctrl support for BM1880 SoC
Browse files Browse the repository at this point in the history
Add pinctrl support for Bitmain BM1880 SoC. This SoC only supports
pinmuxing and the pinctrl registers are part of the sctrl block.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Manivannan Sadhasivam committed Apr 29, 2019
1 parent 9fe4084 commit c1294fb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/bitmain/bm1880.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@
#interrupt-cells = <3>;
};

sctrl: system-controller@50010000 {
compatible = "bitmain,bm1880-sctrl", "syscon",
"simple-mfd";
reg = <0x0 0x50010000 0x0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0x50010000 0x1000>;

pinctrl: pinctrl@50 {
compatible = "bitmain,bm1880-pinctrl";
reg = <0x50 0x4B0>;
};
};

gpio0: gpio@50027000 {
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit c1294fb

Please sign in to comment.