aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-02-20 22:52:52 +0100
committerLubomir Rintel <lkundrak@v3.sk>2019-04-19 07:28:33 +0200
commitca75d329a7b525e2f53c11d6ede8ae6444a7556f (patch)
treef4f756d64781370e11c69f2c9b4f6fcc3edef911
parenta8d630a970dca42ebc358368c40acce0b60f459c (diff)
downloadopenfirmware-ca75d329a7b525e2f53c11d6ede8ae6444a7556f.tar.gz
olpc: switch SDHCI to clock from /clocks
-rw-r--r--cpu/arm/olpc/1.75/sdhci.fth2
-rw-r--r--cpu/arm/olpc/sdhci.fth4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/arm/olpc/1.75/sdhci.fth b/cpu/arm/olpc/1.75/sdhci.fth
index 09b19a92..5bc1bd0e 100644
--- a/cpu/arm/olpc/1.75/sdhci.fth
+++ b/cpu/arm/olpc/1.75/sdhci.fth
@@ -11,7 +11,7 @@ dev /sd
d# 39 " interrupts" integer-property
0 0 encode-bytes " no-1-8-v" property
- " /pmua" encode-phandle 3 encode-int encode+ " clocks" property
+ " /clocks" encode-phandle mmp2-sdh0-clk# encode-int encode+ " clocks" property
" io" " clock-names" string-property
d# 40 encode-int 1 encode-int encode+ " power-delay-ms" property
d# 50000000 " clock-frequency" integer-property
diff --git a/cpu/arm/olpc/sdhci.fth b/cpu/arm/olpc/sdhci.fth
index 33daf02b..2df4c053 100644
--- a/cpu/arm/olpc/sdhci.fth
+++ b/cpu/arm/olpc/sdhci.fth
@@ -91,7 +91,7 @@ previous definitions
0 0 " non-removable" property
d# 52 " interrupts" integer-property
- " /pmua" encode-phandle 4 encode-int encode+ " clocks" property
+ " /clocks" encode-phandle mmp2-sdh1-clk# encode-int encode+ " clocks" property
" io" " clock-names" string-property
d# 50 encode-int d# 500 encode-int encode+ " power-delay-ms" property
0 0 " broken-cd" property
@@ -127,7 +127,7 @@ previous definitions
d# 15 encode-int " clk-delay-cycles" property
d# 53 " interrupts" integer-property
- " /pmua" encode-phandle d# 14 encode-int encode+ " clocks" property
+ " /clocks" encode-phandle mmp2-sdh2-clk# encode-int encode+ " clocks" property
" io" " clock-names" string-property
d# 40 encode-int 1 encode-int encode+ " power-delay-ms" property
0 0 " broken-cd" property