Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658397
| From | Steffen Trumtrar <s.trumtrar@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv3 1/4] ARM: dts: socfpga: Add Altera I2C Controller to CycloneV |
| Date | 2017-06-06 08:50 +0200 |
| Message-ID | <tPgtr-5bP-1@gated-at.bofh.it> (permalink) |
| References | <tO4E2-7Qc-3@gated-at.bofh.it> <tO4E2-7Qc-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi!
thor.thayer@linux.intel.com writes:
> From: Thor Thayer <thor.thayer@linux.intel.com>
>
> Add the Altera I2C Controller to the CycloneV SoCFPGA device tree.
>
> Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
> ---
> v2 Remove altr, from fifo-size.
> Rename compatible string to "altr,softip-i2c"
> v3 Add version to commpatible string "altr,softip-i2c-v1.0"
> ---
> arch/arm/boot/dts/socfpga.dtsi | 13 ++++++++++---
> arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 28 +++++++++++++++++++++++++++-
> 2 files changed, 37 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index b2674bd..d69c13d 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -133,6 +133,13 @@
> #address-cells = <1>;
> #size-cells = <0>;
>
> + clk_0: clk_0 {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <50000000>;
> + clock-output-names = "clk_0-clk";
> + };
> +
> osc1: osc1 {
> #clock-cells = <0>;
> compatible = "fixed-clock";
> @@ -529,11 +536,11 @@
> };
> };
>
> - fpga_bridge0: fpga_bridge@ff400000 {
> + fpga_bridge0: fpga_bridge@ff200000 {
> compatible = "altr,socfpga-lwhps2fpga-bridge";
> - reg = <0xff400000 0x100000>;
> + reg = <0xff200000 0x00200000>;
> resets = <&rst LWHPS2FPGA_RESET>;
> - clocks = <&l4_main_clk>;
> + clocks = <&clk_0>;
> };
>
Why this change? This looks wrong and unrelated. The LWHPS2FPGA bridge
is at 0xff400000, so it is correct the way it is or not?
> fpga_bridge1: fpga_bridge@ff500000 {
> diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
> index 155829f..f99576b 100644
> --- a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
> +++ b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
> @@ -68,6 +68,7 @@
> regulator-min-microvolt = <3300000>;
> regulator-max-microvolt = <3300000>;
> };
> +
> };
???
(...)
Best regards,
Steffen
--
Pengutronix e.K. | Steffen Trumtrar |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCHv3 1/4] ARM: dts: socfpga: Add Altera I2C Controller to CycloneV thor.thayer@linux.intel.com - 2017-06-03 02:00 +0200 Re: [PATCHv3 1/4] ARM: dts: socfpga: Add Altera I2C Controller to CycloneV Steffen Trumtrar <s.trumtrar@pengutronix.de> - 2017-06-06 08:50 +0200
csiph-web