Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Enable mmc1 (SDIO Wi-Fi is attached here)



details:   https://anonhg.NetBSD.org/src/rev/e62e59e4a775
branches:  trunk
changeset: 832287:e62e59e4a775
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 05 11:12:46 2018 +0000

description:
Enable mmc1 (SDIO Wi-Fi is attached here)

diffstat:

 sys/arch/arm/dts/sun50i-a64-pinebook.dts |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 6ac03969d4d2 -r e62e59e4a775 sys/arch/arm/dts/sun50i-a64-pinebook.dts
--- a/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sat May 05 10:56:40 2018 +0000
+++ b/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sat May 05 11:12:46 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64-pinebook.dts,v 1.5 2018/05/04 23:04:09 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64-pinebook.dts,v 1.6 2018/05/05 11:12:46 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -99,6 +99,20 @@
        status = "okay";
 };
 
+&mmc1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins>;
+       vmmc-supply = <&reg_dldo4>;
+       vqmmc-supply = <&reg_eldo1>;
+       bus-width = <4>;
+       non-removable;
+       status = "okay";
+
+       rtl8723cs: wifi@1 {
+               reg = <1>;
+       };
+};
+
 &mmc2 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc2_pins>;



Home | Main Index | Thread Index | Old Index