Add DTS for BPI-R3
Subsystems (2)
v2 cover Add DTS for BPI-R3
From: Frank Wunderlich <[email protected]>
Add board specific devicetree for BananaPi R3.
It is taken from openwrt
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD
only enabled the factory button which was disabled because a HW-bug in rev 1.0 of r3.
v2: changed label for wps-button (used as reset in openwrt)
Daniel Golle (1):
board: mediatek: add Bananapi-R3 devicetree
Frank Wunderlich (1):
configs: change bpi-r3 to board specific dts and change prompt
arch/arm/dts/Makefile | 2 + arch/arm/dts/mt7986a-bpi-r3-emmc.dts | 32 ++++ arch/arm/dts/mt7986a-bpi-r3-sd.dts | 268 +++++++++++++++++++++++++++ configs/mt7986a_bpir3_emmc_defconfig | 6 +- configs/mt7986a_bpir3_sd_defconfig | 6 +- 5 files changed, 308 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/mt7986a-bpi-r3-emmc.dts create mode 100644 arch/arm/dts/mt7986a-bpi-r3-sd.dts
Signature · 1 line
2.34.1
PATCH v2 2/2 configs: change bpi-r3 to board specific dts and change prompt
From: Frank Wunderlich <[email protected]>
Use own devicetree for the board and change the prompt.
--- configs/mt7986a_bpir3_emmc_defconfig | 6 +++--- configs/mt7986a_bpir3_sd_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
configs/mt7986a_bpir3_emmc_defconfig +3 -3
@@ -7,15 +7,15 @@ CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x80000 CONFIG_ENV_OFFSET=0x300000 -CONFIG_DEFAULT_DEVICE_TREE="mt7986a-emmc-rfb" -CONFIG_SYS_PROMPT="MT7986> " +CONFIG_DEFAULT_DEVICE_TREE="mt7986a-bpi-r3-emmc" +CONFIG_SYS_PROMPT="BPI-R3> " CONFIG_TARGET_MT7986=y CONFIG_DEBUG_UART_BASE=0x11002000 CONFIG_DEBUG_UART_CLOCK=40000000 CONFIG_SYS_LOAD_ADDR=0x46000000 CONFIG_DEBUG_UART=y # CONFIG_AUTOBOOT is not set -CONFIG_DEFAULT_FDT_FILE="mt7986a-emmc-rfb" +CONFIG_DEFAULT_FDT_FILE="mt7986a-bpi-r3-emmc" CONFIG_LOGLEVEL=7 CONFIG_LOG=y CONFIG_SYS_CBSIZE=512
configs/mt7986a_bpir3_sd_defconfig +3 -3
@@ -7,15 +7,15 @@ CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x80000 CONFIG_ENV_OFFSET=0x300000 -CONFIG_DEFAULT_DEVICE_TREE="mt7986a-sd-rfb" -CONFIG_SYS_PROMPT="MT7986> " +CONFIG_DEFAULT_DEVICE_TREE="mt7986a-bpi-r3-sd" +CONFIG_SYS_PROMPT="BPI-R3> " CONFIG_TARGET_MT7986=y CONFIG_DEBUG_UART_BASE=0x11002000 CONFIG_DEBUG_UART_CLOCK=40000000 CONFIG_SYS_LOAD_ADDR=0x46000000 CONFIG_DEBUG_UART=y # CONFIG_AUTOBOOT is not set -CONFIG_DEFAULT_FDT_FILE="mt7986a-sd-rfb" +CONFIG_DEFAULT_FDT_FILE="mt7986a-bpi-r3-sd" CONFIG_LOGLEVEL=7 CONFIG_LOG=y CONFIG_SYS_CBSIZE=512
Signature · 1 line
2.34.1
PATCH v2 1/2 board: mediatek: add Bananapi-R3 devicetree
In reply to Frank WunderlichFrom: Daniel Golle <[email protected]>
Add board specific devicetree for Bananapi R3 SBC.
---
taken from openwrt
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD
only enabled the factory button which was disabled because a HW-bug in rev 1.0 of r3.
v2:
- change label for wps-button
--- arch/arm/dts/Makefile | 2 + arch/arm/dts/mt7986a-bpi-r3-emmc.dts | 32 ++++ arch/arm/dts/mt7986a-bpi-r3-sd.dts | 268 +++++++++++++++++++++++++++ 3 files changed, 302 insertions(+) create mode 100644 arch/arm/dts/mt7986a-bpi-r3-emmc.dts create mode 100644 arch/arm/dts/mt7986a-bpi-r3-sd.dts
arch/arm/dts/Makefile +2 -0
@@ -1296,6 +1296,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7981-rfb.dtb \ mt7981-emmc-rfb.dtb \ mt7981-sd-rfb.dtb \ + mt7986a-bpi-r3-sd.dtb \ + mt7986a-bpi-r3-emmc.dtb \ mt7986a-rfb.dtb \ mt7986b-rfb.dtb \ mt7986a-sd-rfb.dtb \
arch/arm/dts/mt7986a-bpi-r3-emmc.dts new file +32 -0
@@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021 MediaTek Inc. + * Author: Sam Shih <[email protected]> + */ + +/dts-v1/; +#include "mt7986a-bpi-r3-sd.dts" +#include <dt-bindings/gpio/gpio.h> +/ { + reg_1p8v: regulator-1p8v { + compatible = "regulator-fixed"; + regulator-name = "fixed-1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; +}; + +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_default>; + bus-width = <8>; + max-frequency = <200000000>; + cap-mmc-highspeed; + cap-mmc-hw-reset; + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_1p8v>; + non-removable; + status = "okay"; +};
arch/arm/dts/mt7986a-bpi-r3-sd.dts new file +268 -0
268 lines not on this page · raw message
Signature · 1 line
2.34.1
How many times I have to repeat to not send me mediatek changes for which I'm not maintainer???
Quoted 29 lines · On Tuesday 11 April 2023 17:19:45 Frank Wunderlich wrote:
From: Frank Wunderlich <[email protected]>
Add board specific devicetree for BananaPi R3.
It is taken from openwrt
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD
only enabled the factory button which was disabled because a HW-bug in rev 1.0 of r3.v2: changed label for wps-button (used as reset in openwrt)
Daniel Golle (1):
board: mediatek: add Bananapi-R3 devicetreeFrank Wunderlich (1):
configs: change bpi-r3 to board specific dts and change promptarch/arm/dts/Makefile | 2 + arch/arm/dts/mt7986a-bpi-r3-emmc.dts | 32 ++++ arch/arm/dts/mt7986a-bpi-r3-sd.dts | 268 +++++++++++++++++++++++++++ configs/mt7986a_bpir3_emmc_defconfig | 6 +- configs/mt7986a_bpir3_sd_defconfig | 6 +- 5 files changed, 308 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/mt7986a-bpi-r3-emmc.dts create mode 100644 arch/arm/dts/mt7986a-bpi-r3-sd.dtsSignature · 1 line
2.34.1
Hi,
Is it possible to take this series in upcoming release?
regards Frank
Quoted 35 lines
Gesendet: Dienstag, den 11.04.2023 um 17:19 Uhr
Von: "Frank Wunderlich" <[email protected]>
An: [email protected]
Cc: "Frank Wunderlich" <[email protected]>, "Sam Shih" <[email protected]>, "William Zhang" <[email protected]>, "Philippe Reynes" <[email protected]>, "Marek Vasut" <[email protected]>, "Fabio Estevam" <[email protected]>, "Marcel Ziswiler" <[email protected]>, "Samuel Holland" <[email protected]>, "Pali Rohár" <[email protected]>, "Daniel Golle" <[email protected]>, "Simon Glass" <[email protected]>, "Weijie Gao" <[email protected]>
Betreff: [PATCH v2 0/2] Add DTS for BPI-R3From: Frank Wunderlich <[email protected]>
Add board specific devicetree for BananaPi R3.
It is taken from openwrt
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD
only enabled the factory button which was disabled because a HW-bug in rev 1.0 of r3.v2: changed label for wps-button (used as reset in openwrt)
Daniel Golle (1):
board: mediatek: add Bananapi-R3 devicetreeFrank Wunderlich (1):
configs: change bpi-r3 to board specific dts and change promptarch/arm/dts/Makefile | 2 + arch/arm/dts/mt7986a-bpi-r3-emmc.dts | 32 ++++ arch/arm/dts/mt7986a-bpi-r3-sd.dts | 268 +++++++++++++++++++++++++++ configs/mt7986a_bpir3_emmc_defconfig | 6 +- configs/mt7986a_bpir3_sd_defconfig | 6 +- 5 files changed, 308 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/mt7986a-bpi-r3-emmc.dts create mode 100644 arch/arm/dts/mt7986a-bpi-r3-sd.dtsSignature · 1 line
2.34.1
Re: [PATCH v2 1/2] board: mediatek: add Bananapi-R3 devicetree
In reply to Frank WunderlichQuoted 6 lines · Frank Wunderlich
From: Daniel Golle <[email protected]>
Add board specific devicetree for Bananapi R3 SBC.
Signed-off-by Daniel Golle <[email protected]>Signed-off-by Frank Wunderlich <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom
Re: [PATCH v2 2/2] configs: change bpi-r3 to board specific dts and change prompt
In reply to Frank WunderlichQuoted 5 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Use own devicetree for the board and change the prompt.
Signed-off-by Frank Wunderlich <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom