mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
4ebcc5375a
Hardware spec: - Rockchip RK3568 Quad-core ARM Cortex-A55 CPU 2GHz - GPU Mali-G52 1-Core-2EE OpenGL ES3.2 Vu1kn 1.1 OpenCL 2.0 - Memory2G DDR3 SDRAM (option 4G) - Storage Onboard 16GB eMMC Flash, Micro SD-Card slot, SATA 3.0 Port,SPI flash - Network 5 x 10/100/1000 Mbit/s Ethernet MT7531 - Display 1 HDMI port, 2 DSI interface(1 DSI can change to LVDS by software) - Camera 1 CSI camera interface - Audio Output HDMI & I2S & Speaker & Headphone - USB port USB 3.0 PORT (x2), micro USB OTG (x1) - PCIE 1 mini pcie interface & 1 M.2 key-e interface - Remote IR Receiver (x1) - GPIO 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). - Switches Reset button, Power button, U-boot button - LED Power Status - Power Source 12 volt 2A via DC Power Installation: Uncompress the OpenWrt sysupgrade and write image to the SD card using dd (dd if=*.img of=/*) Boot from the SD card 1-hold down the MaskRom button 2-Connect DC power 3-Wait 5 seconds, release the button. eMMC Installation: 1-Uncompress the OpenWrt sysupgrade image 2-fash to eMMC dd if=openwrt-rockchip-armv8-sinovoip_bpi-r2-pro-squashfs-sysupgrade.img of=/dev/mmcblk1 sync 3-remove SD card reboot Signed-off-by: Antonio Flores <antflores627@gmail.com>
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From a2ac2a1b02590a22a236c43c455f421cdede45f5 Mon Sep 17 00:00:00 2001
|
||
From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
|
||
Date: Thu, 14 Mar 2024 15:24:35 +0300
|
||
Subject: [PATCH] arm64: dts: rockchip: set PHY address of MT7531 switch to
|
||
0x1f
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
The MT7531 switch listens on PHY address 0x1f on an MDIO bus. I've got two
|
||
findings that support this. There's no bootstrapping option to change the
|
||
PHY address of the switch. The Linux driver hardcodes 0x1f as the PHY
|
||
address of the switch. So the reg property on the device tree is currently
|
||
ignored by the Linux driver.
|
||
|
||
Therefore, describe the correct PHY address on Banana Pi BPI-R2 Pro that
|
||
has this switch.
|
||
|
||
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
|
||
Fixes: c1804463e5c6 ("arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board")
|
||
Link: https://lore.kernel.org/r/20240314-for-rockchip-mt7531-phy-address-v1-1-743b5873358f@arinc9.com
|
||
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
||
---
|
||
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 4 ++--
|
||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
||
--- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
|
||
+++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
|
||
@@ -521,9 +521,9 @@
|
||
#address-cells = <1>;
|
||
#size-cells = <0>;
|
||
|
||
- switch@0 {
|
||
+ switch@1f {
|
||
compatible = "mediatek,mt7531";
|
||
- reg = <0>;
|
||
+ reg = <0x1f>;
|
||
|
||
ports {
|
||
#address-cells = <1>;
|