projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: enable second SPI for VoCore
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ramips
/
dts
/
VOCORE.dts
diff --git
a/target/linux/ramips/dts/VOCORE.dts
b/target/linux/ramips/dts/VOCORE.dts
index e5df9abb42c72a3632314b06ad9beb1c6ca11cf1..e6288b03b8d17ca7f80c45fedfaaf08cea560f9d 100644
(file)
--- a/
target/linux/ramips/dts/VOCORE.dts
+++ b/
target/linux/ramips/dts/VOCORE.dts
@@
-22,14
+22,14
@@
#address-cells = <1>;
#size-cells = <1>;
compatible = "s25fl064k";
#address-cells = <1>;
#size-cells = <1>;
compatible = "s25fl064k";
- reg = <0
0
>;
+ reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
- read
_
only;
+ read
-
only;
};
partition@30000 {
};
partition@30000 {
@@
-49,13
+49,19
@@
reg = <0x50000 0x7b0000>;
};
};
reg = <0x50000 0x7b0000>;
};
};
+
+ spidev@1 {
+ compatible = "linux,spidev";
+ spi-max-frequency = <10000000>;
+ reg = <1>;
+ };
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "jtag", "uartf", "led"
, "spi_cs1"
;
+ ralink,group = "jtag", "uartf", "led";
ralink,function = "gpio";
};
};
ralink,function = "gpio";
};
};
@@
-192,13
+198,6
@@
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 4 0>;
};
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 4 0>;
};
-
- /* SPI_CS1 */
- gpio27 {
- gpio-export,name = "gpio27";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio1 5 0>;
- };
};
gpio-leds {
};
gpio-leds {