mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ARM: dts: aspeed: Describe SD controllers
The AST2400 and AST2500 both share the same SD controller, at the same location in the physical address space and the same hardware interrupt, with the same clock configurations. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
0a1dcf954e
commit
c35227958d
@ -192,6 +192,34 @@ sram: sram@1e720000 {
|
|||||||
reg = <0x1e720000 0x8000>; // 32K
|
reg = <0x1e720000 0x8000>; // 32K
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sdmmc: sd-controller@1e740000 {
|
||||||
|
compatible = "aspeed,ast2400-sd-controller";
|
||||||
|
reg = <0x1e740000 0x100>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0x1e740000 0x10000>;
|
||||||
|
clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
sdhci0: sdhci@100 {
|
||||||
|
compatible = "aspeed,ast2400-sdhci";
|
||||||
|
reg = <0x100 0x100>;
|
||||||
|
interrupts = <26>;
|
||||||
|
sdhci,auto-cmd12;
|
||||||
|
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
sdhci1: sdhci@200 {
|
||||||
|
compatible = "aspeed,ast2400-sdhci";
|
||||||
|
reg = <0x200 0x100>;
|
||||||
|
interrupts = <26>;
|
||||||
|
sdhci,auto-cmd12;
|
||||||
|
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gpio: gpio@1e780000 {
|
gpio: gpio@1e780000 {
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
@ -267,6 +267,34 @@ sram: sram@1e720000 {
|
|||||||
reg = <0x1e720000 0x9000>; // 36K
|
reg = <0x1e720000 0x9000>; // 36K
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sdmmc: sd-controller@1e740000 {
|
||||||
|
compatible = "aspeed,ast2500-sd-controller";
|
||||||
|
reg = <0x1e740000 0x100>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0x1e740000 0x10000>;
|
||||||
|
clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
sdhci0: sdhci@100 {
|
||||||
|
compatible = "aspeed,ast2500-sdhci";
|
||||||
|
reg = <0x100 0x100>;
|
||||||
|
interrupts = <26>;
|
||||||
|
sdhci,auto-cmd12;
|
||||||
|
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
sdhci1: sdhci@200 {
|
||||||
|
compatible = "aspeed,ast2500-sdhci";
|
||||||
|
reg = <0x200 0x100>;
|
||||||
|
interrupts = <26>;
|
||||||
|
sdhci,auto-cmd12;
|
||||||
|
clocks = <&syscon ASPEED_CLK_SDIO>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gpio: gpio@1e780000 {
|
gpio: gpio@1e780000 {
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
Loading…
Reference in New Issue
Block a user