Skip to content

Commit f9b081e

Browse files
committed
dts64: mt7987: change to dedicated sram node
1 parent 8e3d97b commit f9b081e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

arch/arm64/boot/dts/mediatek/mt7987-netsys.dtsi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@
1111
reg = <0 0x15031000 0 0x1000>;
1212
#clock-cells = <1>;
1313
};
14+
eth_sram: sram@15400000 {
15+
compatible = "mmio-sram";
16+
reg = <0 0x15400000 0 0x20000>;
17+
#address-cells = <1>;
18+
#size-cells = <1>;
19+
ranges = <0 0x15400000 0 0x20000>;
20+
};
1421
eth: ethernet@15100000 {
1522
compatible = "mediatek,mt7987-eth";
16-
reg = <0 0x15100000 0 0x80000>,
17-
<0 0x15400000 0 0x20000>;
23+
reg = <0 0x15100000 0 0x80000>;
1824
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1925
<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2026
<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
@@ -55,6 +61,7 @@
5561
#reset-cells = <1>;
5662
#address-cells = <1>;
5763
#size-cells = <0>;
64+
sram = <&eth_sram>;
5865
status = "disabled";
5966
gmac0: mac@0 {
6067
compatible = "mediatek,eth-mac";

0 commit comments

Comments
 (0)