SoCFPGA dts updates for v5.17

- Update N5X to include qspi, usb and ethernet
 - Adjust NAND partition size for Agilex and Stratix10
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAyFiEEoHhMeiyk5VmwVMwNGZQEC4GjKPQFAmG6GWEUHGRpbmd1eWVu
 QGtlcm5lbC5vcmcACgkQGZQEC4GjKPQWtA/3UtiYPmxs/lyKs4Um+jSpSztah7mP
 /sBQzl7maB9ILI0oHhMcflEthr38HVpbkuhcSH0PCgB7mW9Lw3MM7yLXDfgiYt1o
 N0D6Jcu7Vku5CZmHX+l7iH0t9oYQ+RkPQDKs8MkhxUwS3N6OtG5wvjYog1QArJsy
 qhpOEPN26WLtVkL/I+I5tQq3poghjTGIwbWjhZYQJy+Rj0/Z4wm2514VkGGkYDax
 rdA2RzZidwwEnoqocFhntBymXqQ75fP+UWm9EK+6e3XL9zgYBs5hpD9iiotHhL8r
 THOV+1VPWaUeP58xJPcPspPr+irzG5kxQW7orwU33xieta04PbFQRZRAke7unBiU
 J8KoIjuIcWjewYTJg5KdfapApFcYDYMfHIvIPjs5szE4NkumpxuUVy1qMDMHe1bP
 zhUIK1+8K/N/8ki+7Trkg/mgcJF0ISvs0pXFX0NVtQlJn+u0Nq5i3NQZcDpZpy6Y
 6RJJ57XfGAHBfRVrbRIZLrXpea6n/EI0KcXhDKaAv45K+qKDNVXoSP6T4QpHHaBS
 wrzqUoW0PSXbtSQhTTnCiW1G2uT1whJ4aeEdM9UdN3vtsrBNgwWtyZuPwOrCLjIW
 k4vUBoAPmd8Yc7NBlsgSGQE5uJP9vy+eD4Dc0abYPe01bG1Eepf/ioUwx/scfVkR
 tSefPe1L1K9Dtw==
 =5jLo
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmG7RG8ACgkQmmx57+YA
 GNkimQ//QJV7VGxrb1AW8c/tiIRTJjGEb8rTzAYK5QCC/5Ye2cx0A07Buf7K7yqH
 +rIe+xjdc5qf9v2BxstWuKXFqmgFAKSHd3ByRt82ULTzHRtfSwEWFkluKUY6KqAO
 6go5wkDt89OgqhmV9muAwTkzgwMcnVxLaQHx26QzjwZxhBNeOc9J2eDeTvZUfhOk
 4ffS1CkJeeZ9AXuzhWJIwZG4bFkSCtCcrCma3mOYjJczZyvIxzEUuZEgXpaoFouJ
 NveQ8U3xvpa272ixiJi4ee/rk3t1qpaQdM8gaBhMBNY/PhuAsGeQHIpe/8CsWQI9
 WV9LAgKwFNSOMsQoZFJaoFVg6Nu6gtTgI139GlGbypBv3Osb7AeJFYjvz5SQ5RYx
 Z4MJlMeujjQ6c6nsMAkCywzntBgL59/hLoNNF9x1iTCjB8f3OFL+vGKZA/H1T0XM
 4z0IMdL342ZVWz5kEQq3cR/Zm5Kg4VKpKc1xUX+VB+lh9KS838ZT58OXsg/iQ0h1
 suZHveXwmhlj6L2O5GSBrPdnMLIAeNdrsIRot/a0dtTkM2wViAllGwQgid2w464T
 AEXkZJlNHQTHIPlHtXxKTc8RJseq7PtMgnKHTgJt4CX8528DaRArc59V8ikkjP3C
 JVnlKDiSvWqnO9YxtIWwEvIUW+bUTgJVMPN90vDi1a+BRpQabMc=
 =b6RL
 -----END PGP SIGNATURE-----

Merge tag 'socfpga_dts_update_for_v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into arm/dt

SoCFPGA dts updates for v5.17
- Update N5X to include qspi, usb and ethernet
- Adjust NAND partition size for Agilex and Stratix10

* tag 'socfpga_dts_update_for_v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: Update NAND MTD partition for Agilex and Stratix 10
  arm64: dts: n5x: add qspi, usb, and ethernet support

Link: https://lore.kernel.org/r/20211215164545.300273-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2021-12-16 14:51:42 +01:00
commit 4a097f29fb
3 changed files with 75 additions and 40 deletions

View File

@ -119,28 +119,8 @@
};
partition@200000 {
label = "env";
reg = <0x200000 0x40000>;
};
partition@240000 {
label = "dtb";
reg = <0x240000 0x40000>;
};
partition@280000 {
label = "kernel";
reg = <0x280000 0x2000000>;
};
partition@2280000 {
label = "misc";
reg = <0x2280000 0x2000000>;
};
partition@4280000 {
label = "rootfs";
reg = <0x4280000 0x3bd80000>;
label = "root";
reg = <0x200000 0x3fe00000>;
};
};
};

View File

@ -91,24 +91,8 @@
reg = <0 0x200000>;
};
partition@200000 {
label = "env";
reg = <0x200000 0x40000>;
};
partition@240000 {
label = "dtb";
reg = <0x240000 0x40000>;
};
partition@280000 {
label = "kernel";
reg = <0x280000 0x2000000>;
};
partition@2280000 {
label = "misc";
reg = <0x2280000 0x2000000>;
};
partition@4280000 {
label = "rootfs";
reg = <0x4280000 0x3bd80000>;
label = "root";
reg = <0x200000 0x3fe00000>;
};
};
};

View File

@ -29,6 +29,36 @@
compatible = "intel,easic-n5x-clkmgr";
};
&gmac0 {
status = "okay";
phy-mode = "rgmii";
phy-handle = <&phy0>;
max-frame-size = <9000>;
mdio0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dwmac-mdio";
phy0: ethernet-phy@0 {
reg = <4>;
txd0-skew-ps = <0>; /* -420ps */
txd1-skew-ps = <0>; /* -420ps */
txd2-skew-ps = <0>; /* -420ps */
txd3-skew-ps = <0>; /* -420ps */
rxd0-skew-ps = <420>; /* 0ps */
rxd1-skew-ps = <420>; /* 0ps */
rxd2-skew-ps = <420>; /* 0ps */
rxd3-skew-ps = <420>; /* 0ps */
txen-skew-ps = <0>; /* -420ps */
txc-skew-ps = <900>; /* 0ps */
rxdv-skew-ps = <420>; /* 0ps */
rxc-skew-ps = <1680>; /* 780ps */
};
};
};
&mmc {
status = "okay";
cap-sd-highspeed;
@ -40,10 +70,51 @@
clock-frequency = <25000000>;
};
&qspi {
status = "okay";
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,mt25qu02g", "jedec,spi-nor";
reg = <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>;
cdns,tchsh-ns = <4>;
cdns,tslch-ns = <4>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
qspi_boot: partition@0 {
label = "Boot and fpga data";
reg = <0x0 0x03FE0000>;
};
qspi_rootfs: partition@3FE0000 {
label = "Root Filesystem - JFFS2";
reg = <0x03FE0000 0x0C020000>;
};
};
};
};
&uart0 {
status = "okay";
};
&usb0 {
status = "okay";
disable-over-current;
};
&watchdog0 {
status = "okay";
};