Commit 2cb51a8d authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Kevin Hilman

ARM: dts: meson: add the efuse node

Meson6, Meson8 and Meson8b use a similar IP block which has access to
512 bytes of efuse data.
During SoC manufacturing some calibration settings for the CVBS
connector and the internal temperature sensor are written to this efuse.
On some boards it additionally stores for example the MAC addresses.

The efuse is enabled on Meson8 and Meson8b but kept disabled on Meson6
since we do not have a clock driver there (which is required to read
data from the efuse).
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 7d32bc03
......@@ -280,5 +280,20 @@ bootrom: bootrom@d9040000 {
compatible = "amlogic,meson-mx-bootrom", "syscon";
reg = <0xd9040000 0x10000>;
};
secbus: secbus@da000000 {
compatible = "simple-bus";
reg = <0xda000000 0x6000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xda000000 0x6000>;
efuse: nvmem@0 {
compatible = "amlogic,meson6-efuse";
reg = <0x0 0x2000>;
#address-cells = <1>;
#size-cells = <1>;
};
};
};
}; /* end of / */
......@@ -84,6 +84,9 @@ clk81: clk@0 {
};
}; /* end of / */
&efuse {
status = "disabled";
};
&uart_AO {
clocks = <&xtal>, <&clk81>, <&clk81>;
......
......@@ -275,6 +275,12 @@ smp-sram@1ff80 {
};
};
&efuse {
compatible = "amlogic,meson8-efuse";
clocks = <&clkc CLKID_EFUSE>;
clock-names = "core";
};
&ethmac {
clocks = <&clkc CLKID_ETH>;
clock-names = "stmmaceth";
......
......@@ -195,6 +195,13 @@ smp-sram@1ff80 {
};
};
&efuse {
compatible = "amlogic,meson8b-efuse";
clocks = <&clkc CLKID_EFUSE>;
clock-names = "core";
};
&ethmac {
clocks = <&clkc CLKID_ETH>;
clock-names = "stmmaceth";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment