projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b038a9b
)
ARM: dts: imx6qdl-sabresd: enable the SPI NOR
author
Huang Shijie
<b32955@freescale.com>
Fri, 21 Jun 2013 02:19:11 +0000
(10:19 +0800)
committer
Shawn Guo
<shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:28:15 +0000
(23:28 +0800)
enable the spi nor for imx6q{dl}-sabresd boards.
Signed-off-by: Huang Shijie <b32955@freescale.com>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 6e5dfdb32416847184875a6652aeea70281a9850..4dec80c4f991c3abcf93ad664935f56a7c7b0a5e 100644
(file)
--- a/
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@
-77,6
+77,22
@@
status = "okay";
};
+&ecspi1 {
+ fsl,spi-num-chipselects = <1>;
+ cs-gpios = <&gpio4 9 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ecspi1_2>;
+ status = "okay";
+
+ flash: m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "st,m25p32";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_1>;