mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 14:56:19 +07:00
ARM: dts: aspeed-g6: Add gpio devices
The AST2600 has 208 normal GPIO pins and 36 1.8V GPIOs. Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
311b57f051
commit
8dbcb5b709
@ -168,6 +168,32 @@ rng: hwrng@1e6e2524 {
|
|||||||
quality = <100>;
|
quality = <100>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio0: gpio@1e780000 {
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
compatible = "aspeed,ast2600-gpio";
|
||||||
|
reg = <0x1e780000 0x800>;
|
||||||
|
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 208>;
|
||||||
|
ngpios = <208>;
|
||||||
|
clocks = <&syscon ASPEED_CLK_APB2>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio1: gpio@1e780800 {
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
compatible = "aspeed,ast2600-gpio";
|
||||||
|
reg = <0x1e780800 0x800>;
|
||||||
|
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
gpio-ranges = <&pinctrl 0 208 36>;
|
||||||
|
ngpios = <36>;
|
||||||
|
clocks = <&syscon ASPEED_CLK_APB1>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
rtc: rtc@1e781000 {
|
rtc: rtc@1e781000 {
|
||||||
compatible = "aspeed,ast2600-rtc";
|
compatible = "aspeed,ast2600-rtc";
|
||||||
reg = <0x1e781000 0x18>;
|
reg = <0x1e781000 0x18>;
|
||||||
|
Loading…
Reference in New Issue
Block a user