diff options
author | Purna Chandra Mandal <purna.mandal@microchip.com> | 2016-01-28 10:00:19 (GMT) |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-02-01 21:14:02 (GMT) |
commit | c76eb72c43ac3ef4518dac4bee653b769d95e63e (patch) | |
tree | 804e46d9d782e7d4298d71337d413f437429d80f /arch/mips/dts | |
parent | 102142c9e01f1b40b02db5239710bf37f4a17293 (diff) | |
download | u-boot-c76eb72c43ac3ef4518dac4bee653b769d95e63e.tar.xz |
board: add SDHCI support for PIC32MZDASK board.
Enable MMC, SDHCI, FAT_FS support for PIC32MZ[DA] StarterKit.
Also add custom scripts, rules to boot Linux from microSD card.
Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Diffstat (limited to 'arch/mips/dts')
-rw-r--r-- | arch/mips/dts/pic32mzda.dtsi | 11 | ||||
-rw-r--r-- | arch/mips/dts/pic32mzda_sk.dts | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/mips/dts/pic32mzda.dtsi b/arch/mips/dts/pic32mzda.dtsi index c67cfa9..f1894ec 100644 --- a/arch/mips/dts/pic32mzda.dtsi +++ b/arch/mips/dts/pic32mzda.dtsi @@ -150,4 +150,15 @@ #gpio-cells = <2>; }; }; + + sdhci: sdhci@1f8ec000 { + compatible = "microchip,pic32mzda-sdhci"; + reg = <0x1f8ec000 0x100>; + interrupts = <191 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clock REF4CLK>, <&clock PB5CLK>; + clock-names = "base_clk", "sys_clk"; + clock-freq-min-max = <25000000>,<25000000>; + bus-width = <4>; + status = "disabled"; + }; }; diff --git a/arch/mips/dts/pic32mzda_sk.dts b/arch/mips/dts/pic32mzda_sk.dts index 99e7f64..f886a0f 100644 --- a/arch/mips/dts/pic32mzda_sk.dts +++ b/arch/mips/dts/pic32mzda_sk.dts @@ -23,6 +23,9 @@ }; &clock { + microchip,refo2-frequency = <50000000>; + microchip,refo4-frequency = <25000000>; + microchip,refo5-frequency = <40000000>; status = "okay"; u-boot,dm-pre-reloc; }; @@ -36,3 +39,7 @@ status = "okay"; u-boot,dm-pre-reloc; }; + +&sdhci { + status = "okay"; +};
\ No newline at end of file |