Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1192885 > unrolled thread
| Started by | Michal Simek <michal.simek@xilinx.com> |
|---|---|
| First post | 2015-07-27 11:50 +0200 |
| Last post | 2015-07-27 12:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Michal Simek <michal.simek@xilinx.com> - 2015-07-27 11:50 +0200
Re: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> - 2015-07-27 12:10 +0200
| From | Michal Simek <michal.simek@xilinx.com> |
|---|---|
| Date | 2015-07-27 11:50 +0200 |
| Subject | [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus |
| Message-ID | <pQNcJ-6eN-17@gated-at.bofh.it> |
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>;
+ 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 linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> |
|---|---|
| Date | 2015-07-27 12:10 +0200 |
| Message-ID | <pQNw6-6QN-9@gated-at.bofh.it> |
| In reply to | #1192885 |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web