diff mbox

[1/2,V3] EXYNOS5: Add initial DTS file for Snow.

Message ID 1361790423-591-2-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde Feb. 25, 2013, 11:07 a.m. UTC
This patch adds the DTS file for Snow Board.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
---
Changes in V2:
        - None
Changes in V3:
        - None
 board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/dts/exynos5250-snow.dts

Comments

Simon Glass Feb. 28, 2013, 12:36 a.m. UTC | #1
Hi Rajeshwari,

On Mon, Feb 25, 2013 at 3:07 AM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> This patch adds the DTS file for Snow Board.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> Acked-by: Simon Glass <sjg@chromium.org>
> ---
> Changes in V2:
>         - None
> Changes in V3:
>         - None
>  board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
>  1 files changed, 69 insertions(+), 0 deletions(-)
>  create mode 100644 board/samsung/dts/exynos5250-snow.dts
>
> diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
> new file mode 100644
> index 0000000..360d3bd
> --- /dev/null
> +++ b/board/samsung/dts/exynos5250-snow.dts
> @@ -0,0 +1,69 @@
> +/*
> + * SAMSUNG Snow board device tree source
> + *
> + * Copyright (c) 2012 Samsung Electronics Co., Ltd.
> + *             http://www.samsung.com
> + *
> + * 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/ ARCH_CPU_DTS
> +
> +/ {
> +       model = "Google Snow";
> +       compatible = "google,snow", "samsung,exynos5250";
> +
> +       aliases {
> +               i2c0 = "/i2c@12c60000";
> +               i2c1 = "/i2c@12c70000";
> +               i2c2 = "/i2c@12c80000";
> +               i2c3 = "/i2c@12c90000";
> +               i2c4 = "/i2c@12ca0000";
> +               i2c5 = "/i2c@12cb0000";
> +               i2c6 = "/i2c@12cc0000";
> +               i2c7 = "/i2c@12cd0000";
> +               spi0 = "/spi@12d20000";
> +               spi1 = "/spi@12d30000";
> +               spi2 = "/spi@12d40000";
> +               spi3 = "/spi@131a0000";
> +               spi4 = "/spi@131b0000";
> +       };
> +
> +       sromc@12250000 {
> +               bank = <1>;
> +               srom-timing = <1 9 12 1 6 1 1>;
> +               width = <2>;
> +               lan@5000000 {
> +                       compatible = "smsc,lan9215", "smsc,lan";
> +                       reg = <0x5000000 0x100>;
> +                       phy-mode = "mii";
> +               };
> +       };

I think the Ethernet should be removed since snow does not have this.

> +
> +       sound@12d60000 {
> +               samsung,i2s-epll-clock-frequency = <192000000>;
> +               samsung,i2s-sampling-rate = <48000>;
> +               samsung,i2s-bits-per-sample = <16>;
> +               samsung,i2s-channels = <2>;
> +               samsung,i2s-lr-clk-framesize = <256>;
> +               samsung,i2s-bit-clk-framesize = <32>;
> +               samsung,codec-type = "max98095";
> +       };
> +
> +       i2c@12cd0000 {
> +               soundcodec@22 {
> +                       reg = <0x22>;
> +                       compatible = "maxim,max98095-codec";
> +               };
> +       };
> +
> +       i2c@12c60000 {
> +               pmic@9 {
> +                       reg = <0x9>;
> +                       compatible = "maxim,max77686_pmic";
> +               };
> +       };
> +};
> --
> 1.7.4.4
>

Regards,
Simon
diff mbox

Patch

diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
new file mode 100644
index 0000000..360d3bd
--- /dev/null
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -0,0 +1,69 @@ 
+/*
+ * SAMSUNG Snow board device tree source
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com
+ *
+ * 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/ ARCH_CPU_DTS
+
+/ {
+	model = "Google Snow";
+	compatible = "google,snow", "samsung,exynos5250";
+
+	aliases {
+		i2c0 = "/i2c@12c60000";
+		i2c1 = "/i2c@12c70000";
+		i2c2 = "/i2c@12c80000";
+		i2c3 = "/i2c@12c90000";
+		i2c4 = "/i2c@12ca0000";
+		i2c5 = "/i2c@12cb0000";
+		i2c6 = "/i2c@12cc0000";
+		i2c7 = "/i2c@12cd0000";
+		spi0 = "/spi@12d20000";
+		spi1 = "/spi@12d30000";
+		spi2 = "/spi@12d40000";
+		spi3 = "/spi@131a0000";
+		spi4 = "/spi@131b0000";
+	};
+
+	sromc@12250000 {
+		bank = <1>;
+		srom-timing = <1 9 12 1 6 1 1>;
+		width = <2>;
+		lan@5000000 {
+			compatible = "smsc,lan9215", "smsc,lan";
+			reg = <0x5000000 0x100>;
+			phy-mode = "mii";
+		};
+	};
+
+	sound@12d60000 {
+		samsung,i2s-epll-clock-frequency = <192000000>;
+		samsung,i2s-sampling-rate = <48000>;
+		samsung,i2s-bits-per-sample = <16>;
+		samsung,i2s-channels = <2>;
+		samsung,i2s-lr-clk-framesize = <256>;
+		samsung,i2s-bit-clk-framesize = <32>;
+		samsung,codec-type = "max98095";
+	};
+
+	i2c@12cd0000 {
+		soundcodec@22 {
+			reg = <0x22>;
+			compatible = "maxim,max98095-codec";
+		};
+	};
+
+	i2c@12c60000 {
+		pmic@9 {
+			reg = <0x9>;
+			compatible = "maxim,max77686_pmic";
+		};
+	};
+};