SoCFPGA DTS updates for v6.8

- Fix dtbs_check warnings for nand, usb, FPGA firmware, and pin-controller
 - Clean up of DTS for Agilex5
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEoHhMeiyk5VmwVMwNGZQEC4GjKPQFAmWV97QACgkQGZQEC4Gj
 KPTswA//XptfiqRik/YRCM7fTV311DBVxcd7wsmCKMKPLEHGOktQHksydCrOdnCW
 nDbWKX7H1DJB14nT05PjbfImk6YQgjxRAyuknPpVNkR3l9eC9X1d+IqkJr4xPo7c
 5aQTtwD1dPQ2ZpWk+XtKUPYjcJ4otlf4gw1gTS/QeYgogYf3vEUm0olQ5AvQIiRR
 wRnNraeZ5FPVnvVSC/vfPMWc9YknX0YtRT6XnDBBZyu8rhMNuYI175BpM/LOwMZy
 J0+pjQ0VxqR8UPsJsefY+GRUl8XduUOdzZnHwuFvWRWqDqOCqqW8OloGO5L4B5XN
 Vt6/j6nlV6jWlsfkev09vZ4RuCVCmc0IVvBShwdBuCpz9CFNbEtuDb/07rhTd2c8
 tSGvCAi9GnwfGhdWVn/XBj7zp2x99duv9/WdP66q1S4+W9NYBnERngWoS16qs1Ev
 cZlxJmLe8Qk05I0QvrFb2mWLCBRoF/ieh0iTQzqj2n5EruH1TA6Jw/drZat/wFTS
 oCvediy2wqeiVNFSHBHOwrKLKHgvq5UhjTbkjie7Fanb5uUWlpPbVnX2bPt7pQy+
 1uHp4mxDYtUGPYjqr/+qSrl4Gu0clbjpZxZzAfOA1/yAjSb9nCfyVq2+to5sSTSX
 dusQsF+cIYF4mRXQSjcrW9yq5zZfrnuRirAyBmOMNObi39FepZU=
 =Oiqk
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmWX1skACgkQYKtH/8kJ
 Uifc7Q//b1XMsxB2n9ypmq0oraQcf+hLRhOwzQqEyJLyQI9iO0EJ+l/FqJC/Wnuo
 r1cXq7F1f8lQ8vTNpltjbvwCeJ54QRLYzQendFjAnYRVdhnYDoymVZGptgHaTxQ4
 tB2KY47y4sVO1zpx40fpKHcECD+Ex95+DZ2TiUfg1mS9DIm2CYVKmqn+A115pV9R
 g8QUFQzBBh38tzti0iDnXBQwtcV0OtT3aLYD6rlJCBalQplZWmlkEhd9QhBDl6oV
 HNchrndiEH0WZUb2YpuPMH1El8bTnYr/emNPCiur1DtnBYOI7ydRCw6FJISW8OnT
 Q1/zV6Uz+andmUif7YnWFzkJ+cToawEliwa9adBO64cb2VRbpLxK6vsMw/leak2d
 hWGXg+8pft8aTC0hDwql8esl1IxpyK2GE5iMMwwsXYUpA0ZLhleMuinsVzGKY0Mu
 hcoTUzUn/ZJ++n4teirBM0rQ8qJM5UYj9HrSEOBtNAuVS28Zdq3HF4bTsOkjtrpV
 C/j5kQC9USXBDDFtG7G/C3BOY8JhFqWKdCPDU5eMLK3VZZU0wzoXat4AO7t5zd7n
 otfH7FLT+d1604RzL3niPgDdhcWsvCDgKwRErm1DlVLfJHh2ach1JzGmIXFtG5mO
 kEJYcwK4amtjNf6TK3au4IYO966xYwOUaMqrRKMU6UB6ukYh+Gc=
 =Pga6
 -----END PGP SIGNATURE-----

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.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2024-01-05 11:15:29 +01:00
commit 3f2f25b5ae
17 changed files with 53 additions and 77 deletions

View File

@ -768,7 +768,7 @@ mmc: mmc@ff704000 {
status = "disabled";
};
nand0: nand@ff900000 {
nand0: nand-controller@ff900000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "altr,socfpga-denali-nand";

View File

@ -669,7 +669,7 @@ mmc: mmc@ff808000 {
status = "disabled";
};
nand: nand@ffb90000 {
nand: nand-controller@ffb90000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "altr,socfpga-denali-nand";

View File

@ -17,8 +17,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <3>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -124,8 +124,6 @@ flash: flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -129,8 +129,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -174,8 +174,6 @@ flash: flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -121,8 +121,6 @@ flash0: flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -229,8 +229,6 @@ flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;
@ -246,8 +244,6 @@ flash@1 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -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 {
compatible = "arm,armv8-pmuv3";
interrupts = <0 170 4>,
@ -125,7 +144,7 @@ qspi_clk: qspi-clk {
};
};
soc {
soc@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
@ -133,13 +152,6 @@ soc {
interrupt-parent = <&intc>;
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 {
compatible = "intel,stratix10-clkmgr";
reg = <0xffd10000 0x1000>;
@ -510,6 +522,7 @@ usb1: usb@ffb40000 {
resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
reset-names = "dwc2", "dwc2-ecc";
clocks = <&clkmgr STRATIX10_USB_CLK>;
clock-names = "otg";
iommus = <&smmu 7>;
status = "disabled";
};
@ -620,18 +633,6 @@ qspi: spi@ff8d2000 {
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 {

View File

@ -51,7 +51,7 @@ ref_033v: regulator-v-ref {
regulator-max-microvolt = <330000>;
};
soc {
soc@0 {
eccmgr {
sdmmca-ecc@ff8c8c00 {
compatible = "altr,socfpga-s10-sdmmc-ecc",
@ -66,14 +66,14 @@ sdmmca-ecc@ff8c8c00 {
};
&pinctrl0 {
i2c1_pmx_func: i2c1-pmx-func {
i2c1_pmx_func: i2c1-pmx-func-pins {
pinctrl-single,pins = <
0x78 0x4 /* I2C1_SDA (IO6-B) PIN30SEL) */
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 = <
0x78 0x8 /* I2C1_SDA (IO6-B) PIN30SEL) */
0x7c 0x8 /* I2C1_SCL (IO7-B) PIN31SEL */
@ -187,8 +187,6 @@ flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <1>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -51,7 +51,7 @@ ref_033v: regulator-v-ref {
regulator-max-microvolt = <330000>;
};
soc {
soc@0 {
eccmgr {
sdmmca-ecc@ff8c8c00 {
compatible = "altr,socfpga-s10-sdmmc-ecc",
@ -102,7 +102,7 @@ phy0: ethernet-phy@0 {
&nand {
status = "okay";
flash@0 {
nand@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
@ -176,8 +176,6 @@ flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <1>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -80,8 +80,6 @@ &gmac2 {
&mmc {
status = "okay";
altr,dw-mshc-ciu-div = <0x3>;
altr,dw-mshc-sdr-timing = <0x0 0x3>;
cap-sd-highspeed;
cap-mmc-highspeed;
broken-cd;

View File

@ -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 {
compatible = "arm,armv8-pmuv3";
interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
@ -130,7 +149,7 @@ usbphy0: usbphy {
compatible = "usb-nop-xceiv";
};
soc {
soc@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
@ -138,13 +157,6 @@ soc {
interrupt-parent = <&intc>;
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 {
compatible = "intel,agilex-clkmgr";
reg = <0xffd10000 0x1000>;
@ -368,7 +380,7 @@ pinctrl0: pinctrl@ffd13000 {
pinctrl-single,function-mask = <0x0000000f>;
};
pinctrl1: pinconf@ffd13100 {
pinctrl1: pinctrl@ffd13100 {
compatible = "pinctrl-single";
#pinctrl-cells = <1>;
reg = <0xffd13100 0x20>;
@ -659,17 +671,5 @@ qspi: spi@ff8d2000 {
status = "disabled";
};
firmware {
svc {
compatible = "intel,agilex-svc";
method = "smc";
memory-region = <&service_reserved>;
fpga_mgr: fpga-mgr {
compatible = "intel,agilex-soc-fpga-mgr";
};
};
};
};
};

View File

@ -73,7 +73,7 @@ intc: interrupt-controller@1d000000 {
ranges;
#interrupt-cells = <3>;
#address-cells = <2>;
#size-cells =<2>;
#size-cells = <2>;
interrupt-controller;
#redistributor-regions = <1>;
redistributor-stride = <0x0 0x20000>;
@ -315,7 +315,7 @@ spi0: spi@10da4000 {
num-cs = <4>;
clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
dmas = <&dmac0 2>, <&dmac0 3>;
dma-names ="tx", "rx";
dma-names = "tx", "rx";
status = "disabled";
};

View File

@ -26,7 +26,7 @@ memory@80000000 {
reg = <0 0x80000000 0 0>;
};
soc {
soc@0 {
bus@80000000 {
compatible = "simple-bus";
reg = <0x80000000 0x60000000>,

View File

@ -113,8 +113,6 @@ flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <2>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;

View File

@ -25,12 +25,11 @@ memory@80000000 {
reg = <0 0x80000000 0 0>;
};
soc {
soc@0 {
sdram_edac: memory-controller@f87f8000 {
compatible = "snps,ddrc-3.80a";
reg = <0xf87f8000 0x400>;
interrupts = <0 175 4>;
status = "okay";
};
};
};
@ -91,8 +90,6 @@ flash@0 {
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <2>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;