diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-06-20 16:25:13 +0300 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2015-09-30 23:48:59 +0300 |
commit | f359348b1beaff0cd1f790d74c3c156f0bef98e6 (patch) | |
tree | 74d81ed2b9de5aa4c323497d95eb178eabe4c65c /arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | |
parent | 2300830fe71c7652e6cefdfadaf479e81c8bc293 (diff) | |
download | linux-f359348b1beaff0cd1f790d74c3c156f0bef98e6.tar.xz |
ARM: dts: lpc4357-ea4357: add spifi and flash device
The EA4357 dev kit has a Spansion S25FL016K SPI-NOR Flash connected
to the SPIFI perherial.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc4357-ea4357-devkit.dts')
-rw-r--r-- | arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 5f7bdad80963..9fcc0f357c2d 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts @@ -363,6 +363,32 @@ }; }; + spifi_pins: spifi-pins { + spifi_clk_cfg { + pins = "p3_3"; + function = "spifi"; + slew-rate = <1>; + bias-disable; + input-enable; + input-schmitt-disable; + }; + + spifi_mosi_miso_sio2_3_cfg { + pins = "p3_7", "p3_6", "p3_5", "p3_4"; + function = "spifi"; + slew-rate = <0>; + bias-disable; + input-enable; + input-schmitt-disable; + }; + + spifi_cs_cfg { + pins = "p3_8"; + function = "spifi"; + bias-disable; + }; + }; + uart0_pins: uart0-pins { uart0_rx_cfg { pins = "pf_11"; @@ -489,6 +515,26 @@ pinctrl-0 = <&sdmmc_pins>; }; +&spifi { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&spifi_pins>; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-cpol; + spi-cpha; + spi-rx-bus-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "data"; + reg = <0 0x200000>; + }; + }; +}; + &uart0 { status = "okay"; pinctrl-names = "default"; |