diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-04-08 15:30:52 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2019-06-06 17:40:12 +0200 |
commit | c4a739ad50f59a8b924c99b46aec7d31bb26d125 (patch) | |
tree | ecaee2c0fe92fe5b72b3dcf6c71683b371a2eb14 /arch/arm/dts/stm32mp157c-ev1.dts | |
parent | bc9487d4ab9e1c51365ba15cdf156ade9c060720 (diff) |
stm32mp1: activate NAND and NOR support on EV1
Add the necessary configuration to have NAND and NOR support on ev1 board
for BASIC boot (with SPL) or for TRUSTED boot (with TF-A).
STM32MP> nand info
Device 0: nand0, sector size 256 KiB
Page size 4096 b
OOB size 224 b
Erase size 262144 b
subpagesize 4096 b
options 0x00184200
bbt options 0x00060000
STM32MP> sf probe
SF: Detected mx66l51235l with page size 256 Bytes, erase size 64 KiB, total 64 MiB
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/dts/stm32mp157c-ev1.dts')
-rw-r--r-- | arch/arm/dts/stm32mp157c-ev1.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157c-ev1.dts b/arch/arm/dts/stm32mp157c-ev1.dts index a6ee37924f..69980ca283 100644 --- a/arch/arm/dts/stm32mp157c-ev1.dts +++ b/arch/arm/dts/stm32mp157c-ev1.dts @@ -92,6 +92,22 @@ }; }; +&fmc { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&fmc_pins_a>; + pinctrl-1 = <&fmc_sleep_pins_a>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + nand: nand@0 { + reg = <0>; + nand-on-flash-bbt; + #address-cells = <1>; + #size-cells = <1>; + }; +}; + &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&i2c2_pins_a>; |