Commit 30231e0ddb84d689875958903ee48ddd6d28f37e
Committed by
Peng Fan
1 parent
c8bcd9b4b4
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
ARM: dts: ast2500: Add SDHCI nodes
Add nodes for the Aspeed SD controllers with their necessary properties. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Eddie James <eajames@linux.ibm.com>
Showing 2 changed files with 30 additions and 0 deletions Side-by-side Diff
arch/arm/dts/ast2500-evb.dts
... | ... | @@ -59,4 +59,18 @@ |
59 | 59 | pinctrl-names = "default"; |
60 | 60 | pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>; |
61 | 61 | }; |
62 | + | |
63 | +&sdhci0 { | |
64 | + status = "okay"; | |
65 | + | |
66 | + pinctrl-names = "default"; | |
67 | + pinctrl-0 = <&pinctrl_sd1_default>; | |
68 | +}; | |
69 | + | |
70 | +&sdhci1 { | |
71 | + status = "okay"; | |
72 | + | |
73 | + pinctrl-names = "default"; | |
74 | + pinctrl-0 = <&pinctrl_sd2_default>; | |
75 | +}; |
arch/arm/dts/ast2500-u-boot.dtsi
... | ... | @@ -34,6 +34,22 @@ |
34 | 34 | |
35 | 35 | apb { |
36 | 36 | u-boot,dm-pre-reloc; |
37 | + | |
38 | + sdhci0: sdhci@1e740100 { | |
39 | + compatible = "aspeed,ast2500-sdhci"; | |
40 | + reg = <0x1e740100>; | |
41 | + #reset-cells = <1>; | |
42 | + clocks = <&scu BCLK_SDCLK>; | |
43 | + resets = <&rst AST_RESET_SDIO>; | |
44 | + }; | |
45 | + | |
46 | + sdhci1: sdhci@1e740200 { | |
47 | + compatible = "aspeed,ast2500-sdhci"; | |
48 | + reg = <0x1e740200>; | |
49 | + #reset-cells = <1>; | |
50 | + clocks = <&scu BCLK_SDCLK>; | |
51 | + resets = <&rst AST_RESET_SDIO>; | |
52 | + }; | |
37 | 53 | }; |
38 | 54 | |
39 | 55 | }; |