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>;
39 factory: partition@100000 {
40 compatible = "nvmem-cells";
42 reg = <0x100000 0x80000>;
47 eeprom_factory_0: eeprom@0 {
54 reg = <0x180000 0x2800000>;
56 /* This concatenates kernel1 & kernel2 & rootfs */
58 compatible = "fixed-partitions";
69 reg = <0x800000 0x2000000>;
74 label = "zy_firmware_1";
75 reg = <0x2980000 0x2800000>;
80 label = "zy_rootfs_data";
81 reg = <0x5180000 0x1400000>;
87 reg = <0x6580000 0xd00000>;
93 reg = <0x7280000 0x480000>;
99 reg = <0x7700000 0x80000>;
102 mrd: partition@7780000 {
103 compatible = "nvmem-cells";
105 reg = <0x7780000 0x80000>;
106 #address-cells = <1>;
110 macaddr_mrd_1fff8: macaddr@1fff8 {
124 compatible = "mediatek,mt76";
126 nvmem-cells = <&eeprom_factory_0>;
127 nvmem-cell-names = "eeprom";
129 /* MAC-Address set in userspace */
134 nvmem-cells = <&macaddr_mrd_1fff8>;
135 nvmem-cell-names = "mac-address";