aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/Y1.dts
diff options
context:
space:
mode:
authorJames <>2015-11-04 11:49:21 +0000
committerJames <>2015-11-04 11:49:21 +0000
commit716ca530e1c4515d8683c9d5be3d56b301758b66 (patch)
tree700eb5bcc1a462a5f21dcec15ce7c97ecfefa772 /target/linux/ramips/dts/Y1.dts
downloadtrunk-47381-master.tar.gz
trunk-47381-master.tar.bz2
trunk-47381-master.zip
trunk-47381HEADmaster
Diffstat (limited to 'target/linux/ramips/dts/Y1.dts')
-rw-r--r--target/linux/ramips/dts/Y1.dts49
1 files changed, 49 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/Y1.dts b/target/linux/ramips/dts/Y1.dts
new file mode 100644
index 0000000..4a64115
--- /dev/null
+++ b/target/linux/ramips/dts/Y1.dts
@@ -0,0 +1,49 @@
+/dts-v1/;
+
+/include/ "Y1.dtsi"
+
+/ {
+ compatible = "lenovo,Y1", "ralink,mt7620a-soc";
+ model = "Lenovo Y1";
+
+ ethernet@10100000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_pins>;
+ mtd-mac-address = <&factory 0x4>;
+ ralink,port-map = "llllw";
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ power1 {
+ label = "y1:blue:power";
+ gpios = <&gpio0 9 1>;
+ };
+
+ wlan1 {
+ label = "y1:blue:wifi";
+ gpios = <&gpio3 0 1>;
+ };
+
+ wlan2 {
+ label = "y1:blue:wifi5g";
+ gpios = <&gpio2 10 1>;
+ };
+
+ usb {
+ label = "y1:blue:usb";
+ gpios = <&gpio2 12 1>;
+ };
+
+ lan {
+ label = "y1:blue:lan";
+ gpios = <&gpio2 15 1>;
+ };
+
+ internet {
+ label = "y1:blue:internet";
+ gpios = <&gpio2 11 1>;
+ };
+ };
+};