From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Brugger Date: Tue, 2 Oct 2018 15:07:56 +0200 Subject: [U-Boot] [PATCH 04/20] arm: dts: MediaTek: add MT7629 reference board support In-Reply-To: <18b18d60f006d1da99b9442cac2424963d37958c.1538460580.git.ryder.lee@mediatek.com> References: <18b18d60f006d1da99b9442cac2424963d37958c.1538460580.git.ryder.lee@mediatek.com> Message-ID: <40d4a090-a192-3617-adb6-44336f3667e6@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I'm very happy to see Mediatek working on mainline u-boot support! On 02/10/2018 08:13, Ryder Lee wrote: > This patch adds mt7629.dtsi and reference board support. I think reference board support is already added in 2/20. AFAICS you just device tree and the includes it needs. > > Signed-off-by: Ryder Lee > --- > arch/arm/dts/Makefile | 3 + > arch/arm/dts/mt7629-rfb.dts | 71 ++++++++++ > arch/arm/dts/mt7629.dtsi | 232 +++++++++++++++++++++++++++++++ > include/configs/mt7629.h | 2 + > include/dt-bindings/clock/mt7629-clk.h | 217 +++++++++++++++++++++++++++++ > include/dt-bindings/power/mt7629-power.h | 13 ++ > 6 files changed, 538 insertions(+) > create mode 100644 arch/arm/dts/mt7629-rfb.dts > create mode 100644 arch/arm/dts/mt7629.dtsi > create mode 100644 include/dt-bindings/clock/mt7629-clk.h > create mode 100644 include/dt-bindings/power/mt7629-power.h > [...] > + > + watchdog: watchdog at 10212000 { > + compatible = "mediatek,wdt"; Will this be passed to the kernel later? If so, you should add a upstream-like compatible (at least). BTW none of the mt7629 compatible is upstream in the kernel. Not sure if that's an issue for u-boot, TBH. > + reg = <0x10212000 0x600>; > + interrupts = ; > + #reset-cells = <1>; > + status = "disabled"; > + }; > + > + wdt-reboot { > + compatible = "wdt-reboot"; > + wdt = <&watchdog>; > + }; > + Regards, Matthias