mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 03:58:45 +07:00
7d775d34b1
Enable EEPROM for all LPC435x/3x/2x/1x controllers that include the 16 kB EEPROM device. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
44 lines
884 B
Plaintext
44 lines
884 B
Plaintext
/*
|
|
* NXP LPC435x, LPC433x, LPC4327, LPC4325, LPC4317 and LPC4315 SoC
|
|
*
|
|
* Copyright 2015 Joachim Eastwood <manabian@gmail.com>
|
|
*
|
|
* This code is released using a dual license strategy: BSD/GPL
|
|
* You can choose the licence that better fits your requirements.
|
|
*
|
|
* Released under the terms of 3-clause BSD License
|
|
* Released under the terms of GNU General Public License Version 2.0
|
|
*
|
|
*/
|
|
|
|
/ {
|
|
compatible = "nxp,lpc4357";
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
compatible = "arm,cortex-m4";
|
|
};
|
|
};
|
|
|
|
soc {
|
|
sram0: sram@10000000 {
|
|
compatible = "mmio-sram";
|
|
reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */
|
|
};
|
|
|
|
sram1: sram@10080000 {
|
|
compatible = "mmio-sram";
|
|
reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */
|
|
};
|
|
|
|
sram2: sram@20000000 {
|
|
compatible = "mmio-sram";
|
|
reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */
|
|
};
|
|
};
|
|
};
|
|
|
|
&eeprom {
|
|
status = "okay";
|
|
};
|