diff options
author | ganbold <ganbold@FreeBSD.org> | 2015-01-20 09:07:28 +0000 |
---|---|---|
committer | ganbold <ganbold@FreeBSD.org> | 2015-01-20 09:07:28 +0000 |
commit | 7ddeee68ed7a5543fb54e81f5f9d60e000f22fce (patch) | |
tree | e75d2d147df20d13f8641cb662200cca017c2cc9 /sys/boot/fdt/dts | |
parent | 32e84f90539f6b05972c3f5e827938b55bbec4d4 (diff) | |
download | FreeBSD-src-7ddeee68ed7a5543fb54e81f5f9d60e000f22fce.zip FreeBSD-src-7ddeee68ed7a5543fb54e81f5f9d60e000f22fce.tar.gz |
Enable Synopsys DesignWare Mobile Storage Host Controller
driver on Rockchip boards. It currently supports PIO mode
and dma mode needs external dma controller to be used.
Submitted by: jmcneill
Approved by: stas (mentor)
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/rk3188-radxa-lite.dts | 4 | ||||
-rw-r--r-- | sys/boot/fdt/dts/arm/rk3188-radxa.dts | 4 | ||||
-rw-r--r-- | sys/boot/fdt/dts/arm/rk3188.dtsi | 12 |
3 files changed, 16 insertions, 4 deletions
diff --git a/sys/boot/fdt/dts/arm/rk3188-radxa-lite.dts b/sys/boot/fdt/dts/arm/rk3188-radxa-lite.dts index 8f89776..643f5d0 100644 --- a/sys/boot/fdt/dts/arm/rk3188-radxa-lite.dts +++ b/sys/boot/fdt/dts/arm/rk3188-radxa-lite.dts @@ -48,6 +48,10 @@ status = "okay"; }; + mmc@10214000 { + status = "okay"; + }; + }; chosen { diff --git a/sys/boot/fdt/dts/arm/rk3188-radxa.dts b/sys/boot/fdt/dts/arm/rk3188-radxa.dts index ff9ee87..c3740a0 100644 --- a/sys/boot/fdt/dts/arm/rk3188-radxa.dts +++ b/sys/boot/fdt/dts/arm/rk3188-radxa.dts @@ -48,6 +48,10 @@ status = "okay"; }; + mmc@10214000 { + status = "okay"; + }; + }; chosen { diff --git a/sys/boot/fdt/dts/arm/rk3188.dtsi b/sys/boot/fdt/dts/arm/rk3188.dtsi index c6ac385..f16c1b8 100644 --- a/sys/boot/fdt/dts/arm/rk3188.dtsi +++ b/sys/boot/fdt/dts/arm/rk3188.dtsi @@ -231,22 +231,26 @@ }; mmc@10214000 { - compatible = "rockchip,rk30xx-mmc"; + compatible = "rockchip,rk2928-dw-mshc"; reg = <0x10214000 0x1000>; interrupts = <55>; #address-cells = <1>; #size-cells = <0>; - clock-frequency = <24000000>; /* TODO: verify freq */ + bus-frequency = <48000000>; /* TODO: verify freq */ + fifo-depth = <0x40>; + num-slots = <1>; status = "disabled"; }; mmc@10218000 { - compatible = "rockchip,rk30xx-mmc"; + compatible = "rockchip,rk2928-dw-mshc"; reg = <0x10218000 0x1000>; interrupts = <56>; #address-cells = <1>; #size-cells = <0>; - clock-frequency = <24000000>; /* TODO: verify freq */ + bus-frequency = <48000000>; /* TODO: verify freq */ + fifo-depth = <0x40>; + num-slots = <1>; status = "disabled"; }; }; |