Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos4210-i9100.dts
index 6d0c04d77a399683b1f1a09ea7e7bd53c621f2ae..5370ee477186c1877025a190624a95d04d4eac2d 100644 (file)
                reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
        };
 
-       i2c_max17042_fuel: i2c-gpio {
+       i2c_max17042_fuel: i2c-gpio-0 {
                compatible = "i2c-gpio";
                #address-cells = <1>;
                #size-cells = <0>;
                };
        };
 
-       spi-lcd {
+       spi-3 {
                compatible = "spi-gpio";
                #address-cells = <1>;
                #size-cells = <0>;
                        compatible = "samsung,clock-xusbxti";
                        clock-frequency = <24000000>;
                };
-       };
 
-       thermal-zones {
-               cpu_thermal: cpu-thermal {
-                       cooling-maps {
-                               map0 {
-                                       /* Corresponds to 800MHz */
-                                       cooling-device = <&cpu0 2 2>;
-                               };
-                               map1 {
-                                       /* Corresponds to 200MHz */
-                                       cooling-device = <&cpu0 4 4>;
-                               };
-                       };
+               pmic_ap_clk: pmic-ap-clk {
+                       /* Workaround for missing clock on max8997 PMIC */
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <32768>;
                };
        };
 };
        cpu0-supply = <&varm_breg>;
 };
 
+&cpu_thermal {
+       cooling-maps {
+               map0 {
+                       /* Corresponds to 800MHz */
+                       cooling-device = <&cpu0 2 2>;
+               };
+               map1 {
+                       /* Corresponds to 200MHz */
+                       cooling-device = <&cpu0 4 4>;
+               };
+       };
+};
+
 &ehci {
        status = "okay";
 
        status = "okay";
 
        mali-supply = <&vg3d_breg>;
-       regulator-microvolt-offset = <50000>;
-       regulator-microsecs-delay = <50>;
 };
 
 &hsotg {
                                regulator-name = "G3D_1.1V";
                                regulator-min-microvolt = <900000>;
                                regulator-max-microvolt = <1200000>;
+                               regulator-microvolt-offset = <50000>;
                                regulator-always-on;
                        };
 
                                regulator-max-microvolt = <4100000>;
                                regulator-always-on;
                        };
+
+                       EN32KHZ_AP {
+                               regulator-name = "EN32KHZ_AP";
+                               regulator-always-on;
+                       };
+
+                       EN32KHZ_CP {
+                               regulator-name = "EN32KHZ_CP";
+                               regulator-always-on;
+                       };
                };
        };
 };
                samsung,pin-val = <0>;
        };
 
-       mag_mhl_gpio: mag-mhl-gpio {
+       mag_mhl_gpio: mag-mhl {
                samsung,pins = "gpd0-2";
                samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
                samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
        };
 };
 
+&rtc {
+       status = "okay";
+       clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
+       clock-names = "rtc", "rtc_src";
+};
+
 &sdhci_0 {
        status = "okay";