Commit 3f2f25b5 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'socfpga_dts_updates_for_v6.8' of...

Merge tag 'socfpga_dts_updates_for_v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into soc/dt

SoCFPGA DTS updates for v6.8
- Fix dtbs_check warnings for nand, usb, FPGA firmware, and pin-controller
- Clean up of DTS for Agilex5

* tag 'socfpga_dts_updates_for_v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: intel: minor whitespace cleanup around '='
  arm64: dts: socfpga: agilex: drop redundant status
  arm64: dts: socfpga: agilex: add unit address to soc node
  arm64: dts: socfpga: agilex: move firmware out of soc node
  arm64: dts: socfpga: agilex: move FPGA region out of soc node
  arm64: dts: socfpga: agilex: align pin-controller name with bindings
  arm64: dts: socfpga: stratix10_swvp: drop unsupported DW MSHC properties
  arm64: dts: socfpga: stratix10_socdk: align NAND chip name with bindings
  arm64: dts: socfpga: stratix10: add unit address to soc node
  arm64: dts: socfpga: stratix10: move firmware out of soc node
  arm64: dts: socfpga: stratix10: move FPGA region out of soc node
  arm64: dts: socfpga: stratix10: align pincfg nodes with bindings
  arm64: dts: socfpga: stratix10: add clock-names to DWC2 USB
  arm64: dts: socfpga: drop unsupported cdns,page-size and cdns,block-size
  ARM: dts: socfpga: align NAND controller name with bindings
  ARM: dts: socfpga: drop unsupported cdns,page-size and cdns,block-size

Link: https://lore.kernel.org/r/20240104001354.152410-1-dinguyen@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents b2363297 16615a2a
...@@ -768,7 +768,7 @@ mmc: mmc@ff704000 { ...@@ -768,7 +768,7 @@ mmc: mmc@ff704000 {
status = "disabled"; status = "disabled";
}; };
nand0: nand@ff900000 { nand0: nand-controller@ff900000 {
#address-cells = <0x1>; #address-cells = <0x1>;
#size-cells = <0x0>; #size-cells = <0x0>;
compatible = "altr,socfpga-denali-nand"; compatible = "altr,socfpga-denali-nand";
......
...@@ -669,7 +669,7 @@ mmc: mmc@ff808000 { ...@@ -669,7 +669,7 @@ mmc: mmc@ff808000 {
status = "disabled"; status = "disabled";
}; };
nand: nand@ffb90000 { nand: nand-controller@ffb90000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "altr,socfpga-denali-nand"; compatible = "altr,socfpga-denali-nand";
......
...@@ -17,8 +17,6 @@ flash0: flash@0 { ...@@ -17,8 +17,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <3>; cdns,read-delay = <3>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -124,8 +124,6 @@ flash: flash@0 { ...@@ -124,8 +124,6 @@ flash: flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -129,8 +129,6 @@ flash0: flash@0 { ...@@ -129,8 +129,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -174,8 +174,6 @@ flash: flash@0 { ...@@ -174,8 +174,6 @@ flash: flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -121,8 +121,6 @@ flash0: flash@0 { ...@@ -121,8 +121,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -229,8 +229,6 @@ flash@0 { ...@@ -229,8 +229,6 @@ flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
...@@ -246,8 +244,6 @@ flash@1 { ...@@ -246,8 +244,6 @@ flash@1 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>; cdns,read-delay = <4>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -59,6 +59,25 @@ cpu3: cpu@3 { ...@@ -59,6 +59,25 @@ cpu3: cpu@3 {
}; };
}; };
firmware {
svc {
compatible = "intel,stratix10-svc";
method = "smc";
memory-region = <&service_reserved>;
fpga_mgr: fpga-mgr {
compatible = "intel,stratix10-soc-fpga-mgr";
};
};
};
fpga-region {
compatible = "fpga-region";
#address-cells = <0x2>;
#size-cells = <0x2>;
fpga-mgr = <&fpga_mgr>;
};
pmu { pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,armv8-pmuv3";
interrupts = <0 170 4>, interrupts = <0 170 4>,
...@@ -125,7 +144,7 @@ qspi_clk: qspi-clk { ...@@ -125,7 +144,7 @@ qspi_clk: qspi-clk {
}; };
}; };
soc { soc@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "simple-bus"; compatible = "simple-bus";
...@@ -133,13 +152,6 @@ soc { ...@@ -133,13 +152,6 @@ soc {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
ranges = <0 0 0 0xffffffff>; ranges = <0 0 0 0xffffffff>;
base_fpga_region {
#address-cells = <0x2>;
#size-cells = <0x2>;
compatible = "fpga-region";
fpga-mgr = <&fpga_mgr>;
};
clkmgr: clock-controller@ffd10000 { clkmgr: clock-controller@ffd10000 {
compatible = "intel,stratix10-clkmgr"; compatible = "intel,stratix10-clkmgr";
reg = <0xffd10000 0x1000>; reg = <0xffd10000 0x1000>;
...@@ -510,6 +522,7 @@ usb1: usb@ffb40000 { ...@@ -510,6 +522,7 @@ usb1: usb@ffb40000 {
resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>; resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
reset-names = "dwc2", "dwc2-ecc"; reset-names = "dwc2", "dwc2-ecc";
clocks = <&clkmgr STRATIX10_USB_CLK>; clocks = <&clkmgr STRATIX10_USB_CLK>;
clock-names = "otg";
iommus = <&smmu 7>; iommus = <&smmu 7>;
status = "disabled"; status = "disabled";
}; };
...@@ -620,18 +633,6 @@ qspi: spi@ff8d2000 { ...@@ -620,18 +633,6 @@ qspi: spi@ff8d2000 {
status = "disabled"; status = "disabled";
}; };
firmware {
svc {
compatible = "intel,stratix10-svc";
method = "smc";
memory-region = <&service_reserved>;
fpga_mgr: fpga-mgr {
compatible = "intel,stratix10-soc-fpga-mgr";
};
};
};
}; };
usbphy0: usbphy0 { usbphy0: usbphy0 {
......
...@@ -51,7 +51,7 @@ ref_033v: regulator-v-ref { ...@@ -51,7 +51,7 @@ ref_033v: regulator-v-ref {
regulator-max-microvolt = <330000>; regulator-max-microvolt = <330000>;
}; };
soc { soc@0 {
eccmgr { eccmgr {
sdmmca-ecc@ff8c8c00 { sdmmca-ecc@ff8c8c00 {
compatible = "altr,socfpga-s10-sdmmc-ecc", compatible = "altr,socfpga-s10-sdmmc-ecc",
...@@ -66,14 +66,14 @@ sdmmca-ecc@ff8c8c00 { ...@@ -66,14 +66,14 @@ sdmmca-ecc@ff8c8c00 {
}; };
&pinctrl0 { &pinctrl0 {
i2c1_pmx_func: i2c1-pmx-func { i2c1_pmx_func: i2c1-pmx-func-pins {
pinctrl-single,pins = < pinctrl-single,pins = <
0x78 0x4 /* I2C1_SDA (IO6-B) PIN30SEL) */ 0x78 0x4 /* I2C1_SDA (IO6-B) PIN30SEL) */
0x7c 0x4 /* I2C1_SCL (IO7-B) PIN31SEL */ 0x7c 0x4 /* I2C1_SCL (IO7-B) PIN31SEL */
>; >;
}; };
i2c1_pmx_func_gpio: i2c1-pmx-func-gpio { i2c1_pmx_func_gpio: i2c1-pmx-func-gpio-pins {
pinctrl-single,pins = < pinctrl-single,pins = <
0x78 0x8 /* I2C1_SDA (IO6-B) PIN30SEL) */ 0x78 0x8 /* I2C1_SDA (IO6-B) PIN30SEL) */
0x7c 0x8 /* I2C1_SCL (IO7-B) PIN31SEL */ 0x7c 0x8 /* I2C1_SCL (IO7-B) PIN31SEL */
...@@ -187,8 +187,6 @@ flash@0 { ...@@ -187,8 +187,6 @@ flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <1>; cdns,read-delay = <1>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -51,7 +51,7 @@ ref_033v: regulator-v-ref { ...@@ -51,7 +51,7 @@ ref_033v: regulator-v-ref {
regulator-max-microvolt = <330000>; regulator-max-microvolt = <330000>;
}; };
soc { soc@0 {
eccmgr { eccmgr {
sdmmca-ecc@ff8c8c00 { sdmmca-ecc@ff8c8c00 {
compatible = "altr,socfpga-s10-sdmmc-ecc", compatible = "altr,socfpga-s10-sdmmc-ecc",
...@@ -102,7 +102,7 @@ phy0: ethernet-phy@0 { ...@@ -102,7 +102,7 @@ phy0: ethernet-phy@0 {
&nand { &nand {
status = "okay"; status = "okay";
flash@0 { nand@0 {
reg = <0>; reg = <0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -176,8 +176,6 @@ flash@0 { ...@@ -176,8 +176,6 @@ flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <1>; cdns,read-delay = <1>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -80,8 +80,6 @@ &gmac2 { ...@@ -80,8 +80,6 @@ &gmac2 {
&mmc { &mmc {
status = "okay"; status = "okay";
altr,dw-mshc-ciu-div = <0x3>;
altr,dw-mshc-sdr-timing = <0x0 0x3>;
cap-sd-highspeed; cap-sd-highspeed;
cap-mmc-highspeed; cap-mmc-highspeed;
broken-cd; broken-cd;
......
...@@ -60,6 +60,25 @@ cpu3: cpu@3 { ...@@ -60,6 +60,25 @@ cpu3: cpu@3 {
}; };
}; };
firmware {
svc {
compatible = "intel,agilex-svc";
method = "smc";
memory-region = <&service_reserved>;
fpga_mgr: fpga-mgr {
compatible = "intel,agilex-soc-fpga-mgr";
};
};
};
fpga-region {
compatible = "fpga-region";
#address-cells = <0x2>;
#size-cells = <0x2>;
fpga-mgr = <&fpga_mgr>;
};
pmu { pmu {
compatible = "arm,armv8-pmuv3"; compatible = "arm,armv8-pmuv3";
interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
...@@ -130,7 +149,7 @@ usbphy0: usbphy { ...@@ -130,7 +149,7 @@ usbphy0: usbphy {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
}; };
soc { soc@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "simple-bus"; compatible = "simple-bus";
...@@ -138,13 +157,6 @@ soc { ...@@ -138,13 +157,6 @@ soc {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
ranges = <0 0 0 0xffffffff>; ranges = <0 0 0 0xffffffff>;
base_fpga_region {
#address-cells = <0x2>;
#size-cells = <0x2>;
compatible = "fpga-region";
fpga-mgr = <&fpga_mgr>;
};
clkmgr: clock-controller@ffd10000 { clkmgr: clock-controller@ffd10000 {
compatible = "intel,agilex-clkmgr"; compatible = "intel,agilex-clkmgr";
reg = <0xffd10000 0x1000>; reg = <0xffd10000 0x1000>;
...@@ -368,7 +380,7 @@ pinctrl0: pinctrl@ffd13000 { ...@@ -368,7 +380,7 @@ pinctrl0: pinctrl@ffd13000 {
pinctrl-single,function-mask = <0x0000000f>; pinctrl-single,function-mask = <0x0000000f>;
}; };
pinctrl1: pinconf@ffd13100 { pinctrl1: pinctrl@ffd13100 {
compatible = "pinctrl-single"; compatible = "pinctrl-single";
#pinctrl-cells = <1>; #pinctrl-cells = <1>;
reg = <0xffd13100 0x20>; reg = <0xffd13100 0x20>;
...@@ -659,17 +671,5 @@ qspi: spi@ff8d2000 { ...@@ -659,17 +671,5 @@ qspi: spi@ff8d2000 {
status = "disabled"; status = "disabled";
}; };
firmware {
svc {
compatible = "intel,agilex-svc";
method = "smc";
memory-region = <&service_reserved>;
fpga_mgr: fpga-mgr {
compatible = "intel,agilex-soc-fpga-mgr";
};
};
};
}; };
}; };
...@@ -73,7 +73,7 @@ intc: interrupt-controller@1d000000 { ...@@ -73,7 +73,7 @@ intc: interrupt-controller@1d000000 {
ranges; ranges;
#interrupt-cells = <3>; #interrupt-cells = <3>;
#address-cells = <2>; #address-cells = <2>;
#size-cells =<2>; #size-cells = <2>;
interrupt-controller; interrupt-controller;
#redistributor-regions = <1>; #redistributor-regions = <1>;
redistributor-stride = <0x0 0x20000>; redistributor-stride = <0x0 0x20000>;
...@@ -315,7 +315,7 @@ spi0: spi@10da4000 { ...@@ -315,7 +315,7 @@ spi0: spi@10da4000 {
num-cs = <4>; num-cs = <4>;
clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>; clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
dmas = <&dmac0 2>, <&dmac0 3>; dmas = <&dmac0 2>, <&dmac0 3>;
dma-names ="tx", "rx"; dma-names = "tx", "rx";
status = "disabled"; status = "disabled";
}; };
......
...@@ -26,7 +26,7 @@ memory@80000000 { ...@@ -26,7 +26,7 @@ memory@80000000 {
reg = <0 0x80000000 0 0>; reg = <0 0x80000000 0 0>;
}; };
soc { soc@0 {
bus@80000000 { bus@80000000 {
compatible = "simple-bus"; compatible = "simple-bus";
reg = <0x80000000 0x60000000>, reg = <0x80000000 0x60000000>,
......
...@@ -113,8 +113,6 @@ flash@0 { ...@@ -113,8 +113,6 @@ flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <2>; cdns,read-delay = <2>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
...@@ -25,12 +25,11 @@ memory@80000000 { ...@@ -25,12 +25,11 @@ memory@80000000 {
reg = <0 0x80000000 0 0>; reg = <0 0x80000000 0 0>;
}; };
soc { soc@0 {
sdram_edac: memory-controller@f87f8000 { sdram_edac: memory-controller@f87f8000 {
compatible = "snps,ddrc-3.80a"; compatible = "snps,ddrc-3.80a";
reg = <0xf87f8000 0x400>; reg = <0xf87f8000 0x400>;
interrupts = <0 175 4>; interrupts = <0 175 4>;
status = "okay";
}; };
}; };
}; };
...@@ -91,8 +90,6 @@ flash@0 { ...@@ -91,8 +90,6 @@ flash@0 {
spi-max-frequency = <100000000>; spi-max-frequency = <100000000>;
m25p,fast-read; m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <2>; cdns,read-delay = <2>;
cdns,tshsl-ns = <50>; cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>; cdns,tsd2d-ns = <50>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment