aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DAP-1350.dts
Commit message (Expand)AuthorAgeFilesLines
* ralink: fixup devicetree files to work with new ethernet driverJohn Crispin2015-12-171-1/+1
* ramips: use consistent naming scheme for LEDsJohn Crispin2015-08-171-3/+3
* ramips: fix indentation and other mistakes in .dts{, i} filesJohn Crispin2015-08-171-1/+7
* ramips: ethernet mac cleanupJohn Crispin2014-07-261-0/+4
* ramips: soc wmac eeprom cleanupJohn Crispin2014-07-171-1/+5
* ralink: add pinctrl driverJohn Crispin2013-09-171-19/+6
* move memory detect node to dtsi filesJohn Crispin2013-04-091-4/+0
* remove bootargs from dtsJohn Crispin2013-04-091-1/+1
* add ofpart info to the devicetreesJohn Crispin2013-04-091-0/+29
* ramips: remove top-level {address,size}-cells properties from .dts filesGabor Juhos2013-04-071-2/+0
* fix typo pinmmux -> pinmuxJohn Crispin2013-04-061-1/+1
* add the dts files that describe the boards in futureJohn Crispin2013-04-031-0/+101
Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/dts-v1/;

/include/ "rt2880.dtsi"

/ {
	compatible = "AR670W", "ralink,rt2880-soc";
	model = "Airlink101 AR670W";

	palmbus@300000 {
		gpio0: gpio@600 {
			status = "okay";
		};
	};

	pinctrl {
		state_default: pinctrl0 {
			gpio {
				ralink,group = "i2c", "spi", "uartlite";
				ralink,function = "gpio";
			};
		};
	};

	ethernet@400000 {
		status = "okay";
		mtd-mac-address = <&factory 0x2004>;

		port@0 {
			phy-handle = <&phy0>;
			phy-mode = "mii";
		};

		mdio-bus {
			status = "okay";

			phy0: ethernet-phy@0 {
				phy-mode = "mii";
				reg = <0>;
			};
		};
	};

	wmac@480000 {
		status = "okay";
		ralink,mtd-eeprom = <&factory 0x2000>;
	};

	cfi@bdc00000 {
		compatible = "cfi-flash";
		reg = <0xbc400000 0x800000>;
		bank-width = <2>;
		#address-cells = <1>;
		#size-cells = <1>;

		u-boot@0 {
			reg = <0x0 0x30000>;
			label = "u-boot";
			read-only;
		};

		factory: factory@30000 {
			reg = <0x30000 0x10000>;
			label = "factory";
			read-only;
		};

		firmware@40000 {
			reg = <0x40000 0x3c0000>;
			label = "firmware";
		};
	};

	gpio-leds {
		compatible = "gpio-leds";

		status {
			label = "ar670w:green:power";
			gpios = <&gpio0 7 1>;
		};

		wpsblue {
			label = "ar670w:blue:wps";
			gpios = <&gpio0 13 1>;
		};
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <100>;

		wps {
			label = "wps";
			gpios = <&gpio0 0 1>;
			linux,code = <0x211>;
		};

		reset {
			label = "reset";
			gpios = <&gpio0 9 1>;
			linux,code = <0x198>;
		};
	};
};