DaVinci DT support enhancements for v4.17

* Lego EV3 gains firmware recovery mode support
 * Miscellaneous non-critical clean-up
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJalPyrAAoJEGFBu2jqvgRN+WIQAJcHwYPZhRK6U6ND3R4KPAiT
 keQR+EDf+2rmwlek93k6azgywKf2JE1l2nl6MKl6+VvMl/+Jhor1OVZMvSJE0KUZ
 0hQGZZ5klxjLgcgwMxKkk9ZQ3gC4XhgX1CHTETWAttCfBaBgwonGu+c9wQSsg0mW
 Gb3Efc64gdy6E/2/aGZZTwraXgjtPVu0jODRCzlc0KgANkPX6Lo0B1dmbVWEqJis
 2y4rM6tRXVPHx/bfKsgAIrhTBPFIT88deZ0kiQmwwvEcgZ4+BdpOAyztE51PKnWI
 DUelVqXjEu7JIi8mcQzAjvJlX7I1cqTQqMD0PQLZZlu2kl2PwcLwRoRtgCva6wre
 1rA/yqh/wt3WuiGRRyBvOdcRFaw+z08DUCosRAhOcpHI4E73tZ70flC7KHHvzUsh
 KqzVRgAvF3cs8XOEt/4/PrAVHll1wNeUhSm8rpjReJeoit7EQKFqEHsxexvSRDQD
 //pbJbPcr/ZwCNe8dceo/EIQsL6zJ9eZCNmWDMRE43OH5RcfZ0T61BG9PlofiTzW
 S8Y8HNRBjOYyax+veOLRNY8/MpKub+25vjcahuIpI6/n27Gk1vTj/It/rWy4LLzv
 BHMspR3R2lDP2xDeMiRYgokmqBitKZMClt4mWK4X3a64G6zbcsTdRVcGQHeK7hhl
 qlMlhf+41VxaiwwxtlxO
 =sOgP
 -----END PGP SIGNATURE-----

Merge tag 'davinci-for-v4.17/dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/dt

Pull "DaVinci DT support enhancements for v4.17" from Sekhar Nori:

* Lego EV3 gains firmware recovery mode support
* Miscellaneous non-critical clean-up

* tag 'davinci-for-v4.17/dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: dts: da850-evm: add chosen and SPI alias
  ARM: dts: da850-lego-ev3: use a correct fallback for at24 compatible
  ARM: dts: da850-lego-ev3: Add node for reboot modes
This commit is contained in:
Arnd Bergmann 2018-03-07 15:25:14 +01:00
commit f9b7128a30
2 changed files with 23 additions and 1 deletions

View File

@ -15,11 +15,16 @@ / {
compatible = "ti,da850-evm", "ti,da850";
model = "DA850/AM1808/OMAP-L138 EVM";
chosen {
stdout-path = &serial2;
};
aliases {
serial0 = &serial0;
serial1 = &serial1;
serial2 = &serial2;
ethernet0 = &eth0;
spi0 = &spi1;
};
soc@1c00000 {

View File

@ -184,6 +184,23 @@ battery {
io-channel-names = "voltage", "current";
rechargeable-gpios = <&gpio 136 GPIO_ACTIVE_LOW>;
};
/* ARM local RAM */
memory@ffff0000 {
compatible = "syscon", "simple-mfd";
reg = <0xffff0000 0x2000>; /* 8k */
/*
* The I2C bootloader looks for this magic value to either
* boot normally or boot into a firmware update mode.
*/
reboot-mode {
compatible = "syscon-reboot-mode";
offset = <0x1ffc>;
mode-normal = <0x00000000>;
mode-loader = <0x5555aaaa>;
};
};
};
&pmx_core {
@ -293,7 +310,7 @@ &i2c0 {
* EEPROM contains the first stage bootloader, HW ID and Bluetooth MAC.
*/
eeprom@50 {
compatible = "microchip,24c128";
compatible = "microchip,24c128", "atmel,24c128";
pagesize = <64>;
read-only;
reg = <0x50>;