Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 345058a4 authored by Ryder Lee's avatar Ryder Lee Committed by Matthias Brugger
Browse files

arm: dts: mt7623: cleanup MT7623N NAND dts file



Normally, we didn't release this kind of baord to user. This specific
board exists only in the early stage of development inside MediaTek -
and that may confuse peoples.

Hence this patch removes related files accordingly.

Cc: John Crispin <john@phrozen.org>
Cc: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarRyder Lee <ryder.lee@mediatek.com>
Acked-by: default avatarJohn Crispin <john@phrozen.org>
Acked-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 2ca48895
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
	mt7623a-rfb-emmc.dtb \
	mt7623a-rfb-nand.dtb \
	mt7623n-rfb-emmc.dtb \
	mt7623n-rfb-nand.dtb \
	mt7623n-bananapi-bpi-r2.dtb \
	mt8127-moose.dtb \
	mt8135-evbp1.dtb
+0 −73
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: John Crispin <john@phrozen.org>
 *
 */

/dts-v1/;
#include "mt7623n-rfb.dtsi"

/ {
	model = "MediaTek MT7623N NAND reference board";
	compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
};

&bch {
	status = "okay";
};

&nandc {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&nand_pins_default>;

	nand@0 {
		reg = <0>;
		spare_per_sector = <64>;
		nand-ecc-mode = "hw";
		nand-ecc-strength = <12>;
		nand-ecc-step-size = <1024>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "preloader";
				reg = <0x0 0x40000>;
			};

			partition@40000 {
				label = "uboot";
				reg = <0x40000 0x80000>;
			};

			partition@c0000 {
				label = "uboot-env";
				reg = <0xC0000 0x40000>;
			};

			partition@140000 {
				label = "bootimg";
				reg = <0x140000 0x2000000>;
			};

			partition@2140000 {
				label = "recovery";
				reg = <0x2140000 0x2000000>;
			};

			partition@4140000 {
				label = "rootfs";
				reg = <0x4140000 0x1000000>;
			};

			partition@5140000 {
				label = "usrdata";
				reg = <0x5140000 0x1000000>;
			};
		};
	};
};
+0 −86
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: John Crispin <john@phrozen.org>
 *	   Sean Wang <sean.wang@mediatek.com>
 *
 */

/dts-v1/;
#include "mt7623.dtsi"
#include "mt6323.dtsi"

/ {
	aliases {
		serial0 = &uart0;
		serial1 = &uart1;
		serial2 = &uart2;
	};

	chosen {
		stdout-path = "serial2:115200n8";
	};

	cpus {
		cpu0 {
			proc-supply = <&mt6323_vproc_reg>;
		};

		cpu1 {
			proc-supply = <&mt6323_vproc_reg>;
		};

		cpu2 {
			proc-supply = <&mt6323_vproc_reg>;
		};

		cpu3 {
			proc-supply = <&mt6323_vproc_reg>;
		};
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0 0x80000000 0 0x40000000>;
	};

	usb_p1_vbus: regulator-5v {
		compatible = "regulator-fixed";
		regulator-name = "usb_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
};

&mmc0 {
	vmmc-supply = <&mt6323_vemc3v3_reg>;
	vqmmc-supply = <&mt6323_vio18_reg>;
};

&mmc1 {
	vmmc-supply = <&mt6323_vmch_reg>;
	vqmmc-supply = <&mt6323_vmc_reg>;
};

&uart0 {
	status = "okay";
};

&uart1 {
	status = "okay";
};

&uart2 {
	status = "okay";
};

&usb1 {
	vbus-supply = <&usb_p1_vbus>;
	status = "okay";
};

&u3phy1 {
	status = "okay";
};