3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 label-mac-device = &gmac0;
16 mediatek,bmt-max-ratio = <15>;
17 mediatek,bmt-max-reserved-blocks = <64>;
18 mediatek,bmt-remap-range =
20 <0x2980000 0x7800000>;
23 compatible = "fixed-partitions";
35 reg = <0x80000 0x80000>;
41 reg = <0x100000 0x80000>;
45 compatible = "fixed-layout";
49 eeprom_factory_0: eeprom@0 {
53 precal_factory_e10: precal@e10 {
54 reg = <0xe10 0x19c10>;
61 reg = <0x180000 0x2800000>;
63 /* This concatenates kernel1 & kernel2 & rootfs */
65 compatible = "fixed-partitions";
76 reg = <0x800000 0x2000000>;
81 label = "zy_firmware_1";
82 reg = <0x2980000 0x2800000>;
87 label = "zy_rootfs_data";
88 reg = <0x5180000 0x1400000>;
94 reg = <0x6580000 0xd00000>;
100 reg = <0x7280000 0x480000>;
105 label = "bootconfig";
106 reg = <0x7700000 0x80000>;
111 reg = <0x7780000 0x80000>;
115 compatible = "fixed-layout";
116 #address-cells = <1>;
119 macaddr_mrd_1fff8: macaddr@1fff8 {
134 compatible = "mediatek,mt76";
135 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
136 nvmem-cell-names = "eeprom", "precal";
137 /* MAC-Address set in userspace */
142 nvmem-cells = <&macaddr_mrd_1fff8>;
143 nvmem-cell-names = "mac-address";