mmc: dts: limit clk for audi(s), and enable sdio by default
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3036-sdk.dts
index adfbc43b68a92137c9f6451d7772f520005cbf66..3d5788c90a8beb196b7dee85935eacf66f280512 100644 (file)
@@ -37,7 +37,7 @@
        wireless-wlan {
                compatible = "wlan-platdata";
 
-               wifi_chip_type = "";
+               wifi_chip_type = "esp8089";
                sdio_vref = <0>; //1800mv or 3300mv
 
                //power_ctrl_by_pmu;
@@ -73,7 +73,7 @@
 
         status = "okay";
     };
-    
+
        usb_control {
                compatible = "rockchip,rk3036-usb-control";
                host_drv_gpio = <&gpio2 GPIO_C7 GPIO_ACTIVE_LOW>;
        key {
                compatible = "rockchip,key";
        };
-       
+
        codec_hdmi_i2s: codec-hdmi-i2s {
                compatible = "hdmi-i2s";
        };
-       
+
        rockchip-hdmi-i2s {
                compatible = "rockchip-hdmi-i2s";
                dais {
                };
        };
 
+       codec_hdmi_spdif: codec-hdmi-spdif {
+               compatible = "hdmi-spdif";
+       };
+
+       rockchip-hdmi-spdif {
+               compatible = "rockchip-hdmi-spdif";
+               dais {
+                       dai0 {
+                               audio-codec = <&codec_hdmi_spdif>;
+                               i2s-controller = <&spdif>;
+                       };
+               };
+       };
+
        rockchip-audio {
                compatible = "rk3036-audio";
                dais {
 
 &nandc {
        status = "okay"; // used nand set "okay" ,used emmc set "disabled"
-};  
+};
 
 &nandc0reg {
        status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
 };
 
 &emmc {
-       clock-frequency = <100000000>;
-       clock-freq-min-max = <400000 100000000>;
+       clock-frequency = <37500000>;
+       clock-freq-min-max = <400000 37500000>;
 
         supports-highspeed;
        supports-emmc;
         bootpart-no-access;
 
        supports-DDR_MODE;
-       //caps2-mmc-hs200;
 
         ignore-pm-notify;
        keep-power-in-suspend;
-       
-       //poll-hw-reset 
+
+       //poll-hw-reset
        status = "disabled";
 };
-    
+
 &sdmmc {
-               clock-frequency = <50000000>;
-               clock-freq-min-max = <400000 50000000>;
+               clock-frequency = <37500000>;
+               clock-freq-min-max = <400000 37500000>;
                supports-highspeed;
                supports-sd;
                broken-cd;
 
                ignore-pm-notify;
                keep-power-in-suspend;
-       
+
                //vmmc-supply = <&rk808_ldo5_reg>;
                status = "disabled";
 };
-               
+
 &sdio {
-               clock-frequency = <50000000>;
-               clock-freq-min-max = <200000 50000000>;
+               clock-frequency = <37500000>;
+               clock-freq-min-max = <200000 37500000>;
                supports-highspeed;
                supports-sdio;
                ignore-pm-notify;
                keep-power-in-suspend;
-               //cap-sdio-irq;
+               cap-sdio-irq;
                status = "okay";
 };
 
 };
 
 &tve {
-       status = "disabled";
+       status = "okay";
 };
 
 &hdmi {