devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ARM64: zynqmp: Use zynqmp specific compatible string for gpio
@ 2015-07-27  9:48 Michal Simek
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sören Brinkmann, devicetree, monstr, Suneel Garapati,
	Arnd Bergmann, linux-kernel, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

The patch:
"gpio: Added support to Zynq Ultrascale+ MPSoC"
(sha1: bdf7a4ae371894b4dc10b5820006b0a82d484929)
added zynqmp specific features. This patch is switching the driver to
use the zynqmp compatible string.
Also enable the driver for ep108 platform.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 4 ++++
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi      | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 02b5d76c33f7..82deb24dddeb 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -42,6 +42,10 @@
 	};
 };
 
+&gpio {
+	status = "okay";
+};
+
 &sata0 {
 	status = "okay";
 	ceva,broken-gen2;
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index e7545edf6179..bd9ba0cab504 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -163,7 +163,7 @@
 		};
 
 		gpio: gpio@ff0a0000 {
-			compatible = "xlnx,zynq-gpio-1.0";
+			compatible = "xlnx,zynqmp-gpio-1.0";
 			status = "disabled";
 			#gpio-cells = <0x2>;
 			clocks = <&misc_clk>;
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/7] ARM64: zynqmp: Add CANs node for platform
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
@ 2015-07-27  9:48   ` Michal Simek
  2015-07-27  9:48   ` [PATCH 4/7] ARM64: zynqmp: Add DWC3 usb support Michal Simek
  2015-07-27  9:48   ` [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Michal Simek
  2 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Sören Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA,
	monstr-pSz03upnqPeHXe+LvDLADg, Suneel Garapati, Arnd Bergmann,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Also enable can0 for ep108.

Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts |  4 ++++
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi      | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 82deb24dddeb..3aebc3f5d02a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -32,6 +32,10 @@
 	};
 };
 
+&can0 {
+	status = "okay";
+};
+
 &gem0 {
 	status = "okay";
 	phy-handle = <&phy0>;
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index bd9ba0cab504..d58c9689c82a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -96,6 +96,30 @@
 		#size-cells = <1>;
 		ranges;
 
+		can0: can@ff060000 {
+			compatible = "xlnx,zynq-can-1.0";
+			status = "disabled";
+			clocks = <&misc_clk &misc_clk>;
+			clock-names = "can_clk", "pclk";
+			reg = <0x0 0xff060000 0x1000>;
+			interrupts = <0 23 4>;
+			interrupt-parent = <&gic>;
+			tx-fifo-depth = <0x40>;
+			rx-fifo-depth = <0x40>;
+		};
+
+		can1: can@ff070000 {
+			compatible = "xlnx,zynq-can-1.0";
+			status = "disabled";
+			clocks = <&misc_clk &misc_clk>;
+			clock-names = "can_clk", "pclk";
+			reg = <0x0 0xff070000 0x1000>;
+			interrupts = <0 24 4>;
+			interrupt-parent = <&gic>;
+			tx-fifo-depth = <0x40>;
+			rx-fifo-depth = <0x40>;
+		};
+
 		misc_clk: misc_clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-- 
2.3.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/7] ARM64: zynqmp: Add SMMU support
  2015-07-27  9:48 [PATCH 1/7] ARM64: zynqmp: Use zynqmp specific compatible string for gpio Michal Simek
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
@ 2015-07-27  9:48 ` Michal Simek
  2015-07-27  9:48 ` [PATCH 5/7] ARM64: zynqmp: Enable watchdog on ep108 Michal Simek
  2015-07-27  9:48 ` [PATCH 6/7] ARM64: zynqmp: Enable sdhci " Michal Simek
  3 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sören Brinkmann, devicetree, monstr, Suneel Garapati,
	Arnd Bergmann, linux-kernel, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Add SMMU DT node to DTSI.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index d58c9689c82a..7617722cc969 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -244,6 +244,18 @@
 			#size-cells = <0>;
 		};
 
+		smmu0: smmu0@fd800000 {
+			compatible = "arm,mmu-500";
+			reg = <0x0 0xfd800000 0x20000>;
+			#global-interrupts = <1>;
+			interrupt-parent = <&gic>;
+			interrupts = <0 157 4>,
+				<0 157 4>, <0 157 4>, <0 157 4>, <0 157 4>,
+				<0 157 4>, <0 157 4>, <0 157 4>, <0 157 4>,
+				<0 157 4>, <0 157 4>, <0 157 4>, <0 157 4>,
+				<0 157 4>, <0 157 4>, <0 157 4>, <0 157 4>;
+		};
+
 		spi0: spi@ff040000 {
 			compatible = "cdns,spi-r1p6";
 			status = "disabled";
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/7] ARM64: zynqmp: Add DWC3 usb support
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
  2015-07-27  9:48   ` [PATCH 2/7] ARM64: zynqmp: Add CANs node for platform Michal Simek
@ 2015-07-27  9:48   ` Michal Simek
  2015-07-27  9:48   ` [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Michal Simek
  2 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Sören Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA,
	monstr-pSz03upnqPeHXe+LvDLADg, Suneel Garapati, Arnd Bergmann,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Add usb nodes to DTSI and enable both of them on ep108.

Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 12 ++++++++++++
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi      | 20 ++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 3aebc3f5d02a..d6cc4b583587 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -58,3 +58,15 @@
 &uart0 {
 	status = "okay";
 };
+
+&usb0 {
+	status = "okay";
+	dr_mode = "peripheral";
+	maximum-speed = "high-speed";
+};
+
+&usb1 {
+	status = "okay";
+	dr_mode = "host";
+	maximum-speed = "high-speed";
+};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 7617722cc969..9cf364dc4890 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -343,6 +343,26 @@
 			clocks = <&misc_clk>, <&misc_clk>;
 		};
 
+		usb0: usb@fe200000 {
+			compatible = "snps,dwc3";
+			status = "disabled";
+			interrupt-parent = <&gic>;
+			interrupts = <0 65 4>;
+			reg = <0x0 0xfe200000 0x40000>;
+			clock-names = "clk_xin", "clk_ahb";
+			clocks = <&misc_clk>, <&misc_clk>;
+		};
+
+		usb1: usb@fe300000 {
+			compatible = "snps,dwc3";
+			status = "disabled";
+			interrupt-parent = <&gic>;
+			interrupts = <0 70 4>;
+			reg = <0x0 0xfe300000 0x40000>;
+			clock-names = "clk_xin", "clk_ahb";
+			clocks = <&misc_clk>, <&misc_clk>;
+		};
+
 		watchdog0: watchdog@fd4d0000 {
 			compatible = "cdns,wdt-r1p2";
 			status = "disabled";
-- 
2.3.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 5/7] ARM64: zynqmp: Enable watchdog on ep108
  2015-07-27  9:48 [PATCH 1/7] ARM64: zynqmp: Use zynqmp specific compatible string for gpio Michal Simek
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
  2015-07-27  9:48 ` [PATCH 3/7] ARM64: zynqmp: Add SMMU support Michal Simek
@ 2015-07-27  9:48 ` Michal Simek
  2015-07-27  9:48 ` [PATCH 6/7] ARM64: zynqmp: Enable sdhci " Michal Simek
  3 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sören Brinkmann, devicetree, monstr, Suneel Garapati,
	Arnd Bergmann, linux-kernel, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Enable watchdog on ep108.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index d6cc4b583587..faee1617ab16 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -70,3 +70,7 @@
 	dr_mode = "host";
 	maximum-speed = "high-speed";
 };
+
+&watchdog0 {
+	status = "okay";
+};
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 6/7] ARM64: zynqmp: Enable sdhci on ep108
  2015-07-27  9:48 [PATCH 1/7] ARM64: zynqmp: Use zynqmp specific compatible string for gpio Michal Simek
                   ` (2 preceding siblings ...)
  2015-07-27  9:48 ` [PATCH 5/7] ARM64: zynqmp: Enable watchdog on ep108 Michal Simek
@ 2015-07-27  9:48 ` Michal Simek
  3 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sören Brinkmann, devicetree, monstr, Suneel Garapati,
	Arnd Bergmann, linux-kernel, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Enable both sdhcis on ep108.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index faee1617ab16..206e18eca2fb 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -55,6 +55,14 @@
 	ceva,broken-gen2;
 };
 
+&sdhci0 {
+	status = "okay";
+};
+
+&sdhci1 {
+	status = "okay";
+};
+
 &uart0 {
 	status = "okay";
 };
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus
       [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
  2015-07-27  9:48   ` [PATCH 2/7] ARM64: zynqmp: Add CANs node for platform Michal Simek
  2015-07-27  9:48   ` [PATCH 4/7] ARM64: zynqmp: Add DWC3 usb support Michal Simek
@ 2015-07-27  9:48   ` Michal Simek
  2015-07-27 10:01     ` Shubhrajyoti Datta
  2 siblings, 1 reply; 9+ messages in thread
From: Michal Simek @ 2015-07-27  9:48 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Sören Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA,
	monstr-pSz03upnqPeHXe+LvDLADg, Suneel Garapati, Arnd Bergmann,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Ian Campbell,
	Rob Herring, Pawel Moll, Will Deacon, Catalin Marinas,
	Mark Rutland

Add i2c eeprom memories on i2c bus.

Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 206e18eca2fb..47debdcbefbf 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -36,6 +36,24 @@
 	status = "okay";
 };
 
+&i2c0 {
+	status = "okay";
+	clock-frequency = <100000>;
+	eeprom@54 {
+		compatible = "at,24c64";
+		reg = <0x54>;
+	};
+};
+
+&i2c1 {
+	status = "okay";
+	clock-frequency = <100000>;
+	eeprom@55 {
+		compatible = "at,24c64";
+		reg = <0x55>;
+	};
+};
+
 &gem0 {
 	status = "okay";
 	phy-handle = <&phy0>;
-- 
2.3.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus
  2015-07-27  9:48   ` [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Michal Simek
@ 2015-07-27 10:01     ` Shubhrajyoti Datta
  2015-07-29 13:04       ` Michal Simek
  0 siblings, 1 reply; 9+ messages in thread
From: Shubhrajyoti Datta @ 2015-07-27 10:01 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-arm-kernel, Mark Rutland, devicetree, monstr, Pawel Moll,
	Arnd Bergmann, Ian Campbell, Catalin Marinas, Will Deacon,
	linux-kernel, Rob Herring, Kumar Gala, Suneel Garapati,
	Sören Brinkmann

Hi,

On Mon, Jul 27, 2015 at 3:18 PM, Michal Simek <michal.simek@xilinx.com> wrote:
> Add i2c eeprom memories on i2c bus.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> index 206e18eca2fb..47debdcbefbf 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> @@ -36,6 +36,24 @@
>         status = "okay";
>  };
>
> +&i2c0 {
> +       status = "okay";
> +       clock-frequency = <100000>;
If I am not wrong eeprom could work at 400k Could we make that as the speed.

> +       eeprom@54 {
> +               compatible = "at,24c64";
> +               reg = <0x54>;
> +       };
> +};
> +
> +&i2c1 {
> +       status = "okay";
> +       clock-frequency = <100000>;
> +       eeprom@55 {
> +               compatible = "at,24c64";
> +               reg = <0x55>;
> +       };
> +};
> +
>  &gem0 {
>         status = "okay";
>         phy-handle = <&phy0>;
> --
> 2.3.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus
  2015-07-27 10:01     ` Shubhrajyoti Datta
@ 2015-07-29 13:04       ` Michal Simek
  0 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2015-07-29 13:04 UTC (permalink / raw)
  To: Shubhrajyoti Datta, Michal Simek
  Cc: linux-arm-kernel, Mark Rutland, devicetree, monstr, Pawel Moll,
	Arnd Bergmann, Ian Campbell, Catalin Marinas, Will Deacon,
	linux-kernel, Rob Herring, Kumar Gala, Suneel Garapati,
	Sören Brinkmann

On 07/27/2015 12:01 PM, Shubhrajyoti Datta wrote:
> Hi,
> 
> On Mon, Jul 27, 2015 at 3:18 PM, Michal Simek <michal.simek@xilinx.com> wrote:
>> Add i2c eeprom memories on i2c bus.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>>  arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 18 ++++++++++++++++++
>>  1 file changed, 18 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> index 206e18eca2fb..47debdcbefbf 100644
>> --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> @@ -36,6 +36,24 @@
>>         status = "okay";
>>  };
>>
>> +&i2c0 {
>> +       status = "okay";
>> +       clock-frequency = <100000>;
> If I am not wrong eeprom could work at 400k Could we make that as the speed.

I was retesting that and 400k works on this emulation platform too. I
will send v2.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-29 13:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27  9:48 [PATCH 1/7] ARM64: zynqmp: Use zynqmp specific compatible string for gpio Michal Simek
     [not found] ` <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2015-07-27  9:48   ` [PATCH 2/7] ARM64: zynqmp: Add CANs node for platform Michal Simek
2015-07-27  9:48   ` [PATCH 4/7] ARM64: zynqmp: Add DWC3 usb support Michal Simek
2015-07-27  9:48   ` [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Michal Simek
2015-07-27 10:01     ` Shubhrajyoti Datta
2015-07-29 13:04       ` Michal Simek
2015-07-27  9:48 ` [PATCH 3/7] ARM64: zynqmp: Add SMMU support Michal Simek
2015-07-27  9:48 ` [PATCH 5/7] ARM64: zynqmp: Enable watchdog on ep108 Michal Simek
2015-07-27  9:48 ` [PATCH 6/7] ARM64: zynqmp: Enable sdhci " Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).