mirror of https://gitee.com/openkylin/linux.git
arm64: dts: Add Hi6220 gpio configuration nodes
Add Hi6220 gpio configuration nodes Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com> Signed-off-by: Kong Xinwei <kong.kongxinwei@hisilicon.com> Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
parent
58fa29bfbe
commit
f2bfacf9dd
|
@ -251,5 +251,244 @@ dual_timer0: timer@f8008000 {
|
|||
<&ao_ctrl HI6220_TIMER0_PCLK>;
|
||||
clock-names = "timer1", "timer2", "apb_pclk";
|
||||
};
|
||||
|
||||
gpio0: gpio@f8011000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf8011000 0x0 0x1000>;
|
||||
interrupts = <0 52 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio1: gpio@f8012000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf8012000 0x0 0x1000>;
|
||||
interrupts = <0 53 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio2: gpio@f8013000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf8013000 0x0 0x1000>;
|
||||
interrupts = <0 54 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio3: gpio@f8014000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf8014000 0x0 0x1000>;
|
||||
interrupts = <0 55 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio4: gpio@f7020000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7020000 0x0 0x1000>;
|
||||
interrupts = <0 56 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio5: gpio@f7021000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7021000 0x0 0x1000>;
|
||||
interrupts = <0 57 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio6: gpio@f7022000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7022000 0x0 0x1000>;
|
||||
interrupts = <0 58 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio7: gpio@f7023000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7023000 0x0 0x1000>;
|
||||
interrupts = <0 59 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio8: gpio@f7024000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7024000 0x0 0x1000>;
|
||||
interrupts = <0 60 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio9: gpio@f7025000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7025000 0x0 0x1000>;
|
||||
interrupts = <0 61 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio10: gpio@f7026000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7026000 0x0 0x1000>;
|
||||
interrupts = <0 62 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio11: gpio@f7027000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7027000 0x0 0x1000>;
|
||||
interrupts = <0 63 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio12: gpio@f7028000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7028000 0x0 0x1000>;
|
||||
interrupts = <0 64 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio13: gpio@f7029000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf7029000 0x0 0x1000>;
|
||||
interrupts = <0 65 0x4>;
|
||||
gpio-controller;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio14: gpio@f702a000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702a000 0x0 0x1000>;
|
||||
interrupts = <0 66 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio15: gpio@f702b000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702b000 0x0 0x1000>;
|
||||
interrupts = <0 67 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio16: gpio@f702c000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702c000 0x0 0x1000>;
|
||||
interrupts = <0 68 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio17: gpio@f702d000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702d000 0x0 0x1000>;
|
||||
interrupts = <0 69 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio18: gpio@f702e000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702e000 0x0 0x1000>;
|
||||
interrupts = <0 70 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
gpio19: gpio@f702f000 {
|
||||
compatible = "arm,pl061", "arm,primecell";
|
||||
reg = <0x0 0xf702f000 0x0 0x1000>;
|
||||
interrupts = <0 71 0x4>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
clocks = <&ao_ctrl 2>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue