Skip to content

Commit 7671be3

Browse files
hongweiz-amishenki
authored andcommitted
ARM: dts: aspeed-g5: Add SGPIO description
Add SGPIO node to the ASPEED AST2500 device tree. Signed-off-by: Hongwei Zhang <hongweiz@ami.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
1 parent 8c014e9 commit 7671be3

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

arch/arm/boot/dts/aspeed-g5.dtsi

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,29 @@
306306
#gpio-cells = <2>;
307307
gpio-controller;
308308
compatible = "aspeed,ast2500-gpio";
309-
reg = <0x1e780000 0x1000>;
309+
reg = <0x1e780000 0x200>;
310310
interrupts = <20>;
311311
gpio-ranges = <&pinctrl 0 0 232>;
312312
clocks = <&syscon ASPEED_CLK_APB>;
313313
interrupt-controller;
314314
#interrupt-cells = <2>;
315315
};
316316

317+
sgpio: sgpio@1e780200 {
318+
#gpio-cells = <2>;
319+
compatible = "aspeed,ast2500-sgpio";
320+
gpio-controller;
321+
interrupts = <40>;
322+
reg = <0x1e780200 0x0100>;
323+
clocks = <&syscon ASPEED_CLK_APB>;
324+
interrupt-controller;
325+
ngpios = <8>;
326+
bus-frequency = <12000000>;
327+
pinctrl-names = "default";
328+
pinctrl-0 = <&pinctrl_sgpm_default>;
329+
status = "disabled";
330+
};
331+
317332
rtc: rtc@1e781000 {
318333
compatible = "aspeed,ast2500-rtc";
319334
reg = <0x1e781000 0x18>;

0 commit comments

Comments
 (0)