Skip to content

Commit eacef30

Browse files
authored
Merge pull request #118 from RadxaYuntian/rock4
Changes: * Disable UART2 since FIQ Debugger is already enabled in ROCK 4 device tree. * Add SPI Nor Flash XT25F32B to spi-nor driver Signed-off-by: Stephen Chen <[email protected]>
2 parents af142b6 + bc5be9e commit eacef30

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -807,10 +807,6 @@
807807
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
808808
};
809809

810-
&uart2 {
811-
status = "okay";
812-
};
813-
814810
&usb_host0_ehci {
815811
status = "okay";
816812
};

drivers/mtd/spi-nor/xtx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include "core.h"
99

1010
static const struct flash_info xtx_parts[] = {
11+
{ "XT25F32B", INFO(0x0b4016, 0, 64 * 1024, 64,
12+
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
1113
{ "XT25F64F", INFO(0x0b4017, 0, 64 * 1024, 128,
1214
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
1315
{ "XT25F128B", INFO(0x0b4018, 0, 64 * 1024, 256,

0 commit comments

Comments
 (0)