package: add fitblk util to release /dev/fit* devices
[openwrt/staging/dangole.git] / target / linux / mediatek / patches-5.15 / 101-dts-update-mt7629-rfb.patch
1 --- a/arch/arm/boot/dts/mt7629-rfb.dts
2 +++ b/arch/arm/boot/dts/mt7629-rfb.dts
3 @@ -18,6 +18,7 @@
4
5 chosen {
6 stdout-path = "serial0:115200n8";
7 + bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
8 };
9
10 gpio-keys {
11 @@ -70,6 +71,10 @@
12 compatible = "mediatek,eth-mac";
13 reg = <0>;
14 phy-mode = "2500base-x";
15 +
16 + nvmem-cells = <&macaddr_factory_2a>;
17 + nvmem-cell-names = "mac-address";
18 +
19 fixed-link {
20 speed = <2500>;
21 full-duplex;
22 @@ -82,6 +87,9 @@
23 reg = <1>;
24 phy-mode = "gmii";
25 phy-handle = <&phy0>;
26 +
27 + nvmem-cells = <&macaddr_factory_24>;
28 + nvmem-cell-names = "mac-address";
29 };
30
31 mdio: mdio-bus {
32 @@ -133,8 +141,9 @@
33 };
34
35 partition@b0000 {
36 - label = "kernel";
37 + label = "firmware";
38 reg = <0xb0000 0xb50000>;
39 + compatible = "denx,fit";
40 };
41 };
42 };
43 @@ -272,3 +281,17 @@
44 pinctrl-0 = <&watchdog_pins>;
45 status = "okay";
46 };
47 +
48 +&factory {
49 + compatible = "nvmem-cells";
50 + #address-cells = <1>;
51 + #size-cells = <1>;
52 +
53 + macaddr_factory_24: macaddr@24 {
54 + reg = <0x24 0x6>;
55 + };
56 +
57 + macaddr_factory_2a: macaddr@2a {
58 + reg = <0x2a 0x6>;
59 + };
60 +};