diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-08-31 14:52:35 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-11-13 16:35:36 +0300 |
commit | d758ec1ceedb07607a005c7f2deb2fcbf2e170a4 (patch) | |
tree | 2fcc2081c8ebdee9abb0940bca9d5194b12278a6 /arch/arm/boot/dts/renesas | |
parent | 6ebf1725e1f0bf712f547de7d9d14066279bb546 (diff) | |
download | linux-d758ec1ceedb07607a005c7f2deb2fcbf2e170a4.tar.xz |
ARM: dts: renesas: blanche: Add FLASH node
Add a device node for the Spansion S29GL512S NOR FLASH on the Blanche
development board. This FLASH resides in the external address space of
the Local Bus State Controller.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/7edb26bc29ad58198901ae6b6f869684473bb29d.1693481518.git.geert+renesas@glider.be
Diffstat (limited to 'arch/arm/boot/dts/renesas')
-rw-r--r-- | arch/arm/boot/dts/renesas/r8a7792-blanche.dts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts index e793134f32a3..4ee83b8aae2a 100644 --- a/arch/arm/boot/dts/renesas/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/renesas/r8a7792-blanche.dts @@ -182,6 +182,35 @@ }; &lbsc { + flash@0 { + compatible = "cfi-flash"; + reg = <0x00000000 0x04000000>; + pinctrl-0 = <&flash_pins>; + pinctrl-names = "default"; + bank-width = <2>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000000 0x00040000>; + read-only; + }; + partition@40000 { + label = "uboot-env"; + reg = <0x00040000 0x00040000>; + read-only; + }; + partition@80000 { + label = "flash"; + reg = <0x00080000 0x03f80000>; + }; + }; + }; + ethernet@18000000 { compatible = "smsc,lan89218", "smsc,lan9115"; reg = <0x18000000 0x100>; @@ -240,6 +269,11 @@ function = "du1"; }; + flash_pins: flash { + groups = "lbsc_cs0"; + function = "lbsc"; + }; + keyboard_pins: keyboard { pins = "GP_3_10", "GP_3_11", "GP_3_12", "GP_3_15", "GP_11_2"; bias-pull-up; |