aboutsummaryrefslogtreecommitdiff
path: root/src/arm/sun8i-h2-plus-orangepi-zero.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-10-21 15:18:20 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-10-21 15:18:20 +0000
commitd5464ff11700ac44568e6816e00d1d1427cc46ae (patch)
tree1c388ab705b506c8d0e3f16710bfaa2cbc623262 /src/arm/sun8i-h2-plus-orangepi-zero.dts
parentf3f213a6f94d330b77b3910f4c66b62aeec50645 (diff)
downloadsrc-d5464ff11700ac44568e6816e00d1d1427cc46ae.tar.gz
src-d5464ff11700ac44568e6816e00d1d1427cc46ae.zip
dts: Update the Device Tree Sources to Linux 4.13vendor/device-tree/4.13
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=324818 svn path=/vendor/device-tree/4.13/; revision=324819; tag=vendor/device-tree/4.13
Diffstat (limited to 'src/arm/sun8i-h2-plus-orangepi-zero.dts')
-rw-r--r--src/arm/sun8i-h2-plus-orangepi-zero.dts14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/arm/sun8i-h2-plus-orangepi-zero.dts b/src/arm/sun8i-h2-plus-orangepi-zero.dts
index 9e8b082c134f..b1502df7b509 100644
--- a/src/arm/sun8i-h2-plus-orangepi-zero.dts
+++ b/src/arm/sun8i-h2-plus-orangepi-zero.dts
@@ -56,7 +56,6 @@
aliases {
serial0 = &uart0;
- /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
ethernet1 = &xr819;
};
@@ -143,6 +142,19 @@
status = "okay";
};
+&spi0 {
+ /* Disable SPI NOR by default: it optional on Orange Pi Zero boards */
+ status = "disabled";
+
+ flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "mxicy,mx25l1606e", "winbond,w25q128";
+ reg = <0>;
+ spi-max-frequency = <40000000>;
+ };
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;