SOPHGO: riscv: dts: sophgo: sg2044: Add eFUSE device

Add eFUSE controller node for SG2044.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
This commit is contained in:
Inochi Amaoto
2024-12-05 13:24:13 +08:00
committed by Han Gao
parent d635b991c9
commit 976719aa19
2 changed files with 16 additions and 0 deletions

View File

@@ -36,6 +36,10 @@
status = "okay"; status = "okay";
}; };
&efuse0 {
status = "okay";
};
&gmac0 { &gmac0 {
phy-handle = <&phy0>; phy-handle = <&phy0>;
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";

View File

@@ -408,6 +408,18 @@
status = "disabled"; status = "disabled";
}; };
efuse0: efuse@7040000000 {
compatible = "sophgo,sg2044-efuse";
reg = <0x70 0x40000000 0x0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
clocks = <&clk CLK_GATE_EFUSE>,
<&clk CLK_GATE_APB_EFUSE>;
clock-names = "core", "apb";
resets = <&rst RST_EFUSE0>;
status = "disabled";
};
i2c0: i2c@7040005000 { i2c0: i2c@7040005000 {
compatible = "sophgo,sg2044-i2c", "snps,designware-i2c"; compatible = "sophgo,sg2044-i2c", "snps,designware-i2c";
reg = <0x70 0x40005000 0x0 0x1000>; reg = <0x70 0x40005000 0x0 0x1000>;