diff options
| author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2023-08-27 15:10:53 +0900 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-09-24 18:42:11 +0200 |
| commit | de62e0165264fb2872e87116ddceb8c7e12c5a5a (patch) | |
| tree | 242b57dd091f8747bb153f1598dc89ca45b6b511 /target/linux/mediatek | |
| parent | 6b8e7144c8863686a8ddef6f4fcebb3b8cf85f36 (diff) | |
| download | upstream-de62e0165264fb2872e87116ddceb8c7e12c5a5a.tar.gz upstream-de62e0165264fb2872e87116ddceb8c7e12c5a5a.tar.bz2 upstream-de62e0165264fb2872e87116ddceb8c7e12c5a5a.zip | |
mediatek: update NVMEM bindings for Buffalo WSR-2533DHP2
Update NVMEM-related nodes and use newer binding for MAC addresses on
Buffalo WSR-2533DHP2.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/mediatek')
| -rw-r--r-- | target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts index fec559c8af5..9a44152a911 100644 --- a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts +++ b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts @@ -229,9 +229,8 @@ phy-connection-type = "2500base-x"; - nvmem-cells = <&macaddr_factory_4>; + nvmem-cells = <&macaddr_factory_4 (-1)>; nvmem-cell-names = "mac-address"; - mac-address-increment = <(-1)>; fixed-link { speed = <2500>; @@ -284,9 +283,22 @@ }; factory: partition@1c0000 { + compatible = "nvmem-cells"; label = "factory"; reg = <0x1c0000 0x40000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_4: macaddr@4 { + compatible = "mac-base"; + reg = <0x4 0x6>; + #nvmem-cell-cells = <1>; + }; + }; }; partition@200000 { @@ -349,13 +361,3 @@ &rtc { status = "disabled"; }; - -&factory { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - - macaddr_factory_4: macaddr@4 { - reg = <0x4 0x6>; - }; -}; |
