Skip to content

Commit

Permalink
Merge pull request #118 from RadxaYuntian/rock4
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
RadxaStephen authored May 10, 2023
2 parents af142b6 + bc5be9e commit eacef30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,6 @@
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
};

&uart2 {
status = "okay";
};

&usb_host0_ehci {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions drivers/mtd/spi-nor/xtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include "core.h"

static const struct flash_info xtx_parts[] = {
{ "XT25F32B", INFO(0x0b4016, 0, 64 * 1024, 64,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "XT25F64F", INFO(0x0b4017, 0, 64 * 1024, 128,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "XT25F128B", INFO(0x0b4018, 0, 64 * 1024, 256,
Expand Down

0 comments on commit eacef30

Please sign in to comment.