Skip to content

Commit

Permalink
arm64: dts: qcom: pms405: add gpios
Browse files Browse the repository at this point in the history
Add the GPIOs present on PMS405 chip.

Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
  • Loading branch information
vinodkoul authored and Andy Gross committed Nov 18, 2018
1 parent dc29471 commit dbc5c76
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/arm64/boot/dts/qcom/pms405.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@
#address-cells = <1>;
#size-cells = <0>;

pms405_gpios: gpio@c000 {
compatible = "qcom,pms405-gpio";
reg = <0xc000>;
gpio-controller;
#gpio-cells = <2>;
interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
<0 0xc1 0 IRQ_TYPE_NONE>,
<0 0xc2 0 IRQ_TYPE_NONE>,
<0 0xc3 0 IRQ_TYPE_NONE>,
<0 0xc4 0 IRQ_TYPE_NONE>,
<0 0xc5 0 IRQ_TYPE_NONE>,
<0 0xc6 0 IRQ_TYPE_NONE>,
<0 0xc7 0 IRQ_TYPE_NONE>,
<0 0xc8 0 IRQ_TYPE_NONE>,
<0 0xc9 0 IRQ_TYPE_NONE>,
<0 0xca 0 IRQ_TYPE_NONE>,
<0 0xcb 0 IRQ_TYPE_NONE>;
};

rtc@6000 {
compatible = "qcom,pm8941-rtc";
reg = <0x6000>;
Expand Down

0 comments on commit dbc5c76

Please sign in to comment.