summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/lpc4350-hitex-eval.dts
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-07-30 01:48:17 +0200
committerJoachim Eastwood <manabian@gmail.com>2015-09-30 22:49:02 +0200
commit474ae43004ef3646aa424f513d7d84017f844151 (patch)
tree688476a5dbd32881fce475dc50cf2abcd8c4365b /arch/arm/boot/dts/lpc4350-hitex-eval.dts
parent7eef5587688c5e16204740b8ecf48a1c73632e23 (diff)
downloadblackbird-obmc-linux-474ae43004ef3646aa424f513d7d84017f844151.tar.gz
blackbird-obmc-linux-474ae43004ef3646aa424f513d7d84017f844151.zip
ARM: dts: lpc4350-hitex-eval: add spifi and flash device
The Hitex LPC4350 eval board has a Spansion S25SL064P SPI-NOR Flash connected to the SPIFI perherial. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc4350-hitex-eval.dts')
-rw-r--r--arch/arm/boot/dts/lpc4350-hitex-eval.dts57
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
index 32bc7ff4eb2a..c1dd76e5fc45 100644
--- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts
+++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
@@ -186,6 +186,35 @@
};
};
+ 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 = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ spifi_cs_cfg {
+ pins = "p3_8";
+ function = "spifi";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+ };
+
uart0_pins: uart0-pins {
uart0_rx_cfg {
pins = "pf_11";
@@ -278,6 +307,34 @@
pinctrl-0 = <&enet_mii_pins>;
};
+&spifi {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spifi_pins>;
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ spi-rx-bus-width = <4>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "bootloader";
+ reg = <0x000000 0x040000>; /* 256 KiB */
+ };
+
+ partition@1 {
+ label = "kernel";
+ reg = <0x040000 0x2c0000>; /* 2.75 MiB */
+ };
+
+ partition@2 {
+ label = "rootfs";
+ reg = <0x300000 0x500000>; /* 5 MiB */
+ };
+ };
+};
+
&uart0 {
status = "okay";
pinctrl-names = "default";
OpenPOWER on IntegriCloud