aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/files/mediatek_filogic
Commit message (Expand)AuthorAgeFilesLines
* mediatek: add CMCC RAX3000M supportTianling Shen2023-11-071-0/+17
* mediatek: filogic: wax220: cleanup device treeStefan Agner2023-08-221-1/+1
* mediatek: filogic: add specific layout for WR30UHank Moretti2023-08-071-0/+1
* uboot-mediatek: add support for Xiaomi WR30UHank Moretti2023-08-071-0/+2
* uboot-mediatek: add H3C Magic NX30 Pro supportChukun Pan2023-07-131-0/+1
* mediatek: add support for Mercusys MR90X v1Mikhail Zhilkin2023-07-011-0/+4
* uboot-envtools: Add u-boot env config for GL-MT3000Jianhui Zhao2023-07-011-0/+3
* filogic: add support for Netgear WAX220Flole Systems2023-06-261-0/+3
* uboot-mediatek: add Qihoo 360T7 supportChukun Pan2023-05-291-0/+1
* mediatek: add support for Zyxel EX5601-T0 routerPietro Ameruoso2023-05-241-0/+4
* uboot-mediatek: add TP-Link TL-XDR4288 and TL-XDR608xDaniel Golle2023-04-221-0/+3
* uboot-envtools: filogic: bpi-r3: fix env selectionDaniel Golle2023-01-291-4/+7
* mediatek: drop redmi-ax6000 variant with modified envChuanhong Guo2022-12-301-1/+0
* uboot-mediatek: add support for Xiaomi Redmi Router AX6000Furong Xu2022-12-291-0/+8
* mediatek: add alternative stock layout for Xiaomi Redmi Router AX6000Chen Minqiang2022-12-171-1/+2
* mediatek: add Xiaomi Redmi Router AX6000 supportChukun Pan2022-10-301-1/+5
* uboot-envtools: mediatek_filogic: fix BPi-R3 when no OS is installedDaniel Golle2022-10-181-7/+4
* uboot-envtools: add support for Bananapi BPi-R3Daniel Golle2022-08-301-0/+45
t: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/dts-v1/;

/include/ "mt7620a.dtsi"

/ {
	compatible = "XIAOMI MIWIFI MINI", "ralink,mt7620a-soc";
	model = "Xiaomi MiWiFi Mini";

	chosen {
		bootargs = "console=ttyS0,115200";
	};

	palmbus@10000000 {
		gpio0: gpio@600 {
			status = "okay";
		};

		gpio1: gpio@638 {
			status = "okay";
		};

		gpio2: gpio@660 {
			status = "okay";
		};

		spi@b00 {
			status = "okay";

			m25p80@0 {
				#address-cells = <1>;
				#size-cells = <1>;
				compatible = "w25q128";
				reg = <0 0>;
				linux,modalias = "m25p80", "w25q128";
				spi-max-frequency = <10000000>;

				partition@0 {
					label = "u-boot";
					reg = <0x0 0x30000>;
				};

				partition@30000 {
					label = "u-boot-env";
					reg = <0x30000 0x10000>;
					read-only;
				};

				factory: partition@40000 {
					label = "factory";
					reg = <0x40000 0x10000>;
					read-only;
				};

				partition@50000 {
					label = "firmware";
					reg = <0x50000 0xf80000>;
				};

				partition@fd0000 {
					label = "crash";
					reg = <0xfd0000 0x10000>;
				};

				partition@fe0000 {
					label = "reserved";
					reg = <0xfe0000 0x10000>;
					read-only;
				};

				partition@ff0000 {
					label = "Bdata";
					reg = <0xff0000 0x10000>;
				};
			};
		};
	};

	ehci@101c0000 {
		status = "okay";
	};

	ohci@101c1000 {
		status = "okay";
	};

	ethernet@10100000 {
		pinctrl-names = "default";
		pinctrl-0 = <&ephy_pins>;
		mtd-mac-address = <&factory 0x4>;
		ralink,port-map = "llllw";
	};

	wmac@10180000 {
		ralink,mtd-eeprom = <&factory 0>;
	};

	pcie@10140000 {
		status = "okay";

		pcie0 {
			mt76@0,0 {
				reg = <0x0000 0 0 0 0>;
				device_type = "pci";
				mediatek,mtd-eeprom = <&factory 0x8000>;
			};
		};
	};

	pinctrl {
		state_default: pinctrl0 {
			gpio {
				ralink,group = "i2c", "rgmii1";
				ralink,function = "gpio";
			};
		};
	};

	gpio-leds {
		compatible = "gpio-leds";

		blue {
			label = "xiaomi:blue:status";
			gpios = <&gpio1 0 1>;
		};

		yellow {
			label = "xiaomi:yellow:status";
			gpios = <&gpio1 2 1>;
		};

		red {
			label = "xiaomi:red:status";
			gpios = <&gpio1 5 1>;
		};
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <20>;
		reset {
			label = "reset";
			gpios = <&gpio1 6 0>;
			linux,code = <0x198>;
		};
	};
};