diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-02-13 12:46:37 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-02-19 19:34:18 +0100 |
commit | c7528996a5208ed94eb2e6dc82079542a7869ab3 (patch) | |
tree | 96b027e96fe17b2bf0b6d0299b48dd1464652a89 /target/linux | |
parent | 583ac0e11df7e29142837410a320db4654e4ff96 (diff) | |
download | upstream-c7528996a5208ed94eb2e6dc82079542a7869ab3.tar.gz upstream-c7528996a5208ed94eb2e6dc82079542a7869ab3.tar.bz2 upstream-c7528996a5208ed94eb2e6dc82079542a7869ab3.zip |
mpc85xx: change legacy "eeprom" compatible
silences the following message:
> eeprom 0-0051: eeprom driver is deprecated, please use at24 instead
The chip was likely a Dallas Semiconductor and later MAXIM part
before Analog Devices, Inc. bought MAXIM.
From the datasheet:
"The DS28CN01 combines 1024 bits of EEPROM with challenge-and-response
authentication security implemented with the FIPS 180-1/180-2 and
ISO/IEC 10118-3 Secure Hash Algorithm (SHA-1)."
...
"Write Access Requires Knowledge of the Secret
and the Capability of Computing and Transmitting
a 160-Bit MAC as Authorization"
OpenWrt doesn't use it. There's no in-kernel driver
from what I know. Let's document that the chip is
at the location.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts index 67b93707c7..166342759c 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts @@ -183,10 +183,14 @@ #endif }; - /* Most likely SoC boot config */ eeprom@51 { - compatible = "eeprom"; + /* + * 1Kbit I2C/SMBus EEPROM with SHA-1 Engine + * Aerohive calls it "dallas". + */ + compatible = "adi,ds28cn01"; reg = <0x51>; + read-only; }; }; |