summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am3517-som.dtsi
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-05-05 20:26:08 -0500
committerTony Lindgren <tony@atomide.com>2018-05-15 11:30:26 -0700
commit2500ee634f50c345184777eab8f3bd9b6f52857a (patch)
tree7bf715168ab100605c5bd3833e9194bef97beb52 /arch/arm/boot/dts/am3517-som.dtsi
parentcfaa856a25102b0259b99cf4708f40916ce0a1b5 (diff)
ARM: dts: am3517-evm: Split off SOM features from baseboard
The am3517-evm consists of an am3517 SOM-M2 and a baseboard. As items are added that are unique to the baseboard, let's place them in a file called am3517-som.dtsi. These items will be common for all variants of the SOM. Anything unique to the baseboard will be placed into am3517-evm. Signed-off-by: Derald D. Woods <woods.technical@gmail.com> Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am3517-som.dtsi')
-rw-r--r--arch/arm/boot/dts/am3517-som.dtsi38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi
new file mode 100644
index 000000000000..92192928ccde
--- /dev/null
+++ b/arch/arm/boot/dts/am3517-som.dtsi
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2016 Derald D. Woods <woods.technical@gmail.com>
+ *
+ * Based on am3517-evm.dts
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+&gpmc {
+ ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
+
+ nand@0,0 {
+ compatible = "ti,omap2-nand";
+ linux,mtd-name = "micron,mt29f4g16abchch";
+ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
+ nand-bus-width = <16>;
+ ti,nand-ecc-opt = "bch8";
+ gpmc,sync-clk-ps = <0>;
+ gpmc,cs-on-ns = <0>;
+ gpmc,cs-rd-off-ns = <44>;
+ gpmc,cs-wr-off-ns = <44>;
+ gpmc,adv-on-ns = <6>;
+ gpmc,adv-rd-off-ns = <34>;
+ gpmc,adv-wr-off-ns = <44>;
+ gpmc,we-off-ns = <40>;
+ gpmc,oe-off-ns = <54>;
+ gpmc,access-ns = <64>;
+ gpmc,rd-cycle-ns = <82>;
+ gpmc,wr-cycle-ns = <82>;
+ gpmc,wr-access-ns = <40>;
+ gpmc,wr-data-mux-bus-ns = <0>;
+ gpmc,device-width = <2>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+};