CHROMIUM: ARM: exynos: add dts for daisy
authorOlof Johansson <olofj@chromium.org>
Thu, 12 Apr 2012 23:23:21 +0000 (16:23 -0700)
committerOlof Johansson <olofj@chromium.org>
Wed, 20 Jun 2012 18:49:49 +0000 (11:49 -0700)
BUG=chrome-os-partner:8942
TEST=boot with USE=device_tree

Change-Id: Ic6f9fdf5a049cf6249c33c015adffa7d24bac6b2
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit-int.chromium.org/15738
Reviewed-by: Doug Anderson <dianders@google.com>
Reviewed-by: Simon Glass <sjg@google.com>
Commit-Ready: Olof Johansson <olofj@google.com>
Tested-by: Olof Johansson <olofj@google.com>
arch/arm/boot/dts/exynos5250-daisy.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/exynos5250-daisy.dts b/arch/arm/boot/dts/exynos5250-daisy.dts
new file mode 100644 (file)
index 0000000..8e098b2
--- /dev/null
@@ -0,0 +1,224 @@
+/*
+ * Google Daisy board device tree source
+ *
+ * Copyright (c) 2012 Google, Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/dts-v1/;
+/include/ "exynos5250.dtsi"
+
+/ {
+       model = "Google Daisy";
+       compatible = "google,daisy", "samsung,smdk5250", "samsung,exynos5250";
+
+       memory {
+               reg = <0x40000000 0x80000000>;
+       };
+
+       chosen {
+       };
+
+       aliases {
+               sysmmu2 = &sysmmu_2;
+               sysmmu3 = &sysmmu_3;
+               sysmmu4 = &sysmmu_4;
+               sysmmu27 = &sysmmu_27;
+               sysmmu28 = &sysmmu_28;
+               sysmmu23 = &sysmmu_23;
+               sysmmu24 = &sysmmu_24;
+               sysmmu25 = &sysmmu_25;
+               sysmmu26 = &sysmmu_26;
+               gsc0 = &gsc_0;
+               gsc1 = &gsc_1;
+               gsc2 = &gsc_2;
+               gsc3 = &gsc_3;
+               i2s0 = &i2s_0;
+       };
+
+       sromc-bus {
+               lan9215@3,0 {
+                       compatible = "smsc,lan9215", "smsc,lan9115";
+                       reg = <3 0 0x20000>;
+                       interrupts = <5 0>;
+                       interrupt-parent = <&wakeup_eint>;
+                       phy-mode = "mii";
+                       smsc,irq-push-pull;
+                       smsc,force-internal-phy;
+                       local-mac-address = [00 80 00 23 45 67];
+               };
+       };
+
+       i2c@12C60000 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <20000>;
+               gpios = <&gpb3 0 2 3 0>,
+                       <&gpb3 1 2 3 0>;
+
+               max77686_pmic@9 {
+                       compatible = "maxim,max77686-pmic";
+                       interrupt-parent = <&wakeup_eint>;
+                       interrupts = <26 0>;
+                       reg = <0x9>;
+
+                       max77686,buck_ramp_delay = <2>;         /* default */
+
+                       voltage-regulators {
+                               ldo11_reg: LDO11 {
+                                       regulator-name = "vdd_ldo11";
+                                       regulator-min-microvolt = <1900000>;
+                                       regulator-max-microvolt = <1900000>;
+                                       regulator-always-on;
+                               };
+
+                               ldo14_reg: LDO14 {
+                                       regulator-name = "vdd_ldo14";
+                                       regulator-min-microvolt = <1900000>;
+                                       regulator-max-microvolt = <1900000>;
+                                       regulator-always-on;
+                               };
+
+                               buck1_reg: BUCK1 {
+                                       regulator-name = "vdd_mif";
+                                       regulator-min-microvolt = <950000>;
+                                       regulator-max-microvolt = <1300000>;
+                                       regulator-always-on;
+                                       regulator-boot-on;
+                               };
+
+                               buck2_reg: BUCK2 {
+                                       regulator-name = "vdd_arm";
+                                       regulator-min-microvolt = <850000>;
+                                       regulator-max-microvolt = <1350000>;
+                                       regulator-always-on;
+                                       regulator-boot-on;
+                               };
+
+                               buck3_reg: BUCK3 {
+                                       regulator-name = "vdd_int";
+                                       regulator-min-microvolt = <900000>;
+                                       regulator-max-microvolt = <1200000>;
+                                       regulator-always-on;
+                                       regulator-boot-on;
+                               };
+
+                               buck4_reg: BUCK4 {
+                                       regulator-name = "vdd_g3d";
+                                       regulator-min-microvolt = <850000>;
+                                       regulator-max-microvolt = <1300000>;
+                                       regulator-boot-on;
+                               };
+
+                               buck8_reg: BUCK8 {
+                                       regulator-name = "vdd_ummc";
+                                       regulator-min-microvolt = <900000>;
+                                       regulator-max-microvolt = <3000000>;
+                                       regulator-always-on;
+                                       regulator-boot-on;
+                               };
+                       };
+               };
+       };
+
+       i2c@12C70000 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <20000>;
+               gpios = <&gpb3 2 2 3 0>,
+                       <&gpb3 3 2 3 0>;
+
+       };
+
+       i2c@12C80000 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <20000>;
+               gpios = <&gpa0 6 3 3 0>,
+                       <&gpa0 7 3 3 0>;
+
+               exynos_hdcp@3a {
+                       compatible = "samsung,exynos_hdcp";
+                       reg = <0x3a>;
+               };
+       };
+
+       i2c@12C90000 {
+               status = "disabled";
+       };
+
+       i2c@12CA0000 {
+               status = "disabled";
+       };
+
+       i2c@12CB0000 {
+               status = "disabled";
+       };
+
+       i2c@12CC0000 {
+               status = "disabled";
+       };
+
+       i2c@12CD0000 {
+               status = "disabled";
+       };
+
+       dwmmc0@12200000 {
+               supports-highspeed;
+               card-detection-broken;
+               no-write-protect;
+               fifo-depth = <0x80>;
+               card-detect-delay = <200>;
+               samsung,dw-mshc-sdr-timing = <2 3 3>;
+               samsung,dw-mshc-ddr-timing = <1 2 3>;
+
+               slot0 {
+                       bus-width = <8>;
+                       cd-gpios = <&gpc0 2 2 3 3>;
+                       gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
+                               <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
+                               <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
+                               <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
+                               <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
+               };
+       };
+
+       dwmmc1@12210000 {
+               status = "disabled";
+       };
+
+       dwmmc2@12220000 {
+               supports-highspeed;
+               card-detection-broken;
+               no-write-protect;
+               fifo-depth = <0x80>;
+               card-detect-delay = <200>;
+               samsung,dw-mshc-sdr-timing = <2 3 3>;
+               samsung,dw-mshc-ddr-timing = <1 2 3>;
+
+               slot0 {
+                       bus-width = <4>;
+                       cd-gpios = <&gpc3 2 2 3 3>;
+                       gpios = <&gpc3 1 2 0 3>, <&gpc3 0 2 0 3>,
+                               <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
+                               <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>;
+               };
+       };
+
+       dwmmc3@12230000 {
+               status = "disabled";
+       };
+
+       i2c@12CE0000 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <20000>;
+       };
+};