sam460ex: Fix sam460ex device tree when booting the Linux kernel
authorGuenter Roeck <linux@roeck-us.net>
Sat, 23 Jun 2018 21:18:05 +0000 (14:18 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 2 Jul 2018 23:56:51 +0000 (09:56 +1000)
commit43f7868da3c84c1c7eef89631ab0bf6dc194eedb
tree73f57687dc6df9fef765b2fa0e379e4714e4c9ef
parent5107a9cb431b816af6d7e450c22b044198bc6d18
sam460ex: Fix sam460ex device tree when booting the Linux kernel

sam460ex (or at least this emulation) does not support the "ibm,cpm" power
management. As a result, Linux crashes when trying to access it. Remove
its device tree node. Also, if/when we boot the Linux kernel directly,
serial port clock frequencies in the device tree file will be unset, and
serial port initialization will fail. Add valid frequency values to
the serial ports to be able to use it. Also set valid values for the other
clock nodes otherwise set by u-boot.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/sam460ex.c