arm64: dts: mediatek: mt7981: add efuse block
Subsystems (2)
PATCH 1/1 arm64: dts: mediatek: mt7981: add efuse block
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) is a low cost version of MT7986 (Filogic 830) and has efuse compatible with the later one.
Signed-off-by Rafał Miłecki <[email protected]>
--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +7 -0
@@ -133,6 +133,13 @@ pio: pinctrl@11d00000 { #interrupt-cells = <2>; }; + efuse@11f20000 { + compatible = "mediatek,mt7986-efuse", "mediatek,efuse"; + reg = <0 0x11f20000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + clock-controller@15000000 { compatible = "mediatek,mt7981-ethsys", "syscon"; reg = <0 0x15000000 0 0x1000>;
Signature · 1 line
2.35.3
AngeloGioacchino Del Regno
maintainerIl 30/04/24 13:29, Rafał Miłecki ha scritto:
Quoted 15 lines
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) is a low cost version of MT7986 (Filogic 830) and has efuse compatible with the later one.
Signed-off-by Rafał Miłecki <[email protected]>--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/boot/dts/mediatek/mt7981b.dtsi +0
-0
arch/arm64/boot/dts/mediatek/mt7981b.dtsi pio: pinctrl@11d00000 { · line 137
Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +2
-0@@ -133,6 +133,13 @@ pio: pinctrl@11d00000 { #interrupt-cells = <2>; }; + efuse@11f20000 { + compatible = "mediatek,mt7986-efuse", "mediatek,efuse";
I'll be honest here - I've been tempted to do "that" way too many times... :-P
..but no, you have to add a "mediatek,mt7981-efuse" compatible to the binding and use that instead of the 7986 one (and I'm sure you understand the reasons too...)
Cheers,
Angelo
Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +5
-0+ reg = <0 0x11f20000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + clock-controller@15000000 { compatible = "mediatek,mt7981-ethsys", "syscon"; reg = <0 0x15000000 0 0x1000>;