Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed-g6: Add SGPIO node.

AST2600 supports 2 SGPIO master interfaces one with 128 pins another one
with 80 pins.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Link: https://lore.kernel.org/r/20210712100317.23298-4-steven_lee@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Steven Lee and committed by
Joel Stanley
09eccdc9 0ffbfcbc

+28
+28
arch/arm/boot/dts/aspeed-g6.dtsi
··· 377 377 #interrupt-cells = <2>; 378 378 }; 379 379 380 + sgpiom0: sgpiom@1e780500 { 381 + #gpio-cells = <2>; 382 + gpio-controller; 383 + compatible = "aspeed,ast2600-sgpiom"; 384 + reg = <0x1e780500 0x100>; 385 + interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; 386 + clocks = <&syscon ASPEED_CLK_APB2>; 387 + interrupt-controller; 388 + bus-frequency = <12000000>; 389 + pinctrl-names = "default"; 390 + pinctrl-0 = <&pinctrl_sgpm1_default>; 391 + status = "disabled"; 392 + }; 393 + 394 + sgpiom1: sgpiom@1e780600 { 395 + #gpio-cells = <2>; 396 + gpio-controller; 397 + compatible = "aspeed,ast2600-sgpiom"; 398 + reg = <0x1e780600 0x100>; 399 + interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; 400 + clocks = <&syscon ASPEED_CLK_APB2>; 401 + interrupt-controller; 402 + bus-frequency = <12000000>; 403 + pinctrl-names = "default"; 404 + pinctrl-0 = <&pinctrl_sgpm2_default>; 405 + status = "disabled"; 406 + }; 407 + 380 408 gpio1: gpio@1e780800 { 381 409 #gpio-cells = <2>; 382 410 gpio-controller;