OSDN Git Service

ARM: dts: ixp4xx: Fix up the Netgear WG302 device tree
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Dec 2021 00:08:39 +0000 (01:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Feb 2022 20:53:55 +0000 (21:53 +0100)
commitf960b33f6d53f6f21f9c73a74b3700e724dc0fed
tree8e928040e18c215209b22f35902b13a9925512e1
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
ARM: dts: ixp4xx: Fix up the Netgear WG302 device tree

The version we can support (because of access to the hardware)
is WG302v1, so rename the file and make the following
modifications:

- We have 32MB memory not 16MB
- The default console speed is 9600 baud so use this
- The device has no ATA disk nor USB so drop the /dev/sda1
  default mount, this needs to mount ramdisk or NFS
- Both serial0 and serial1 cannot be assigned with aliases,
  just assign serial0
- The Flash is just 8MB so augment the size
- The Flash FIS index is at eraseblock 0x3f
- The PHY is at MDIO address 30

Tested by bringing the Netgear WG302v1 up to userspace using
initramfs appended to the kernel and downloaded over TFTP,
then ifconfig to bring up eth0 and pinging the host. All
works fine including SSH into the device from the host.

Cc: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/intel-ixp42x-netgear-wg302v1.dts [moved from arch/arm/boot/dts/intel-ixp42x-netgear-wg302v2.dts with 77% similarity]