aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte
Commit message (Expand)AuthorAgeFilesLines
* update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patc...Gabor Juhos2008-11-121-1/+1
* Update to 2.6.26.7Florian Fainelli2008-10-231-1/+1
* update to 2.6.26.5 and 2.6.25.17Gabor Juhos2008-09-261-1/+1
* disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable i...Nicolas Thill2008-09-241-1/+0
* update sibyte config, disable unneeded featuresImre Kaloz2008-08-251-36/+22
* upgrade sibyte to 2.6.26.3Imre Kaloz2008-08-242-1/+6
* upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)Gabor Juhos2008-05-181-1/+1
* enable proper PCI & USB support detection at config-time by disabling CONFIG_...Nicolas Thill2008-05-091-1/+1
* upgrade to 2.6.24.5Imre Kaloz2008-04-281-1/+1
* properly disable CONFIG_CRYPTO_HWNicolas Thill2008-04-271-1/+0
* upgrade & standardize kernel versionsImre Kaloz2008-02-111-1/+1
* upgrade sibyte to 2.6.24Imre Kaloz2008-02-113-1117/+83
* make the image filenames a bit shorterFelix Fietkau2007-11-101-4/+4
* get rid of per-profile base-filesGabor Juhos2007-09-292-0/+0
* move crypto support to a seperate crypto.mk file, split modules into multiple...Nicolas Thill2007-09-231-19/+0
* clean up jffs2 config optionsFelix Fietkau2007-09-191-1/+0
* adapt profiles for subtarget changesFelix Fietkau2007-09-081-3/+0
* major target cleanup. it is now possible to have subtargets that can override...Felix Fietkau2007-09-082-2/+2
* strip the kernel version suffix from target directories, except for brcm-2.4 ...Felix Fietkau2007-09-066-0/+1421
.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 */
#include "mt7620a.dtsi"

/ {
	chosen {
		bootargs = "console=ttyS0,115200";
	};

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

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

&gpio2 {
	status = "okay";
};

&gpio3 {
	status = "okay";
};

&spi0 {
	status = "okay";

	m25p80@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "jedec,spi-nor";
		reg = <0 0>;
		linux,modalias = "m25p80", "w25q128";
		spi-max-frequency = <10000000>;

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

		partition@30000 {
			label = "u-boot-env";
			reg = <0x30000 0x10000>;
			read-only;
		};

		factory: partition@40000 {
			label = "factory";
			reg = <0x40000 0x10000>;
			read-only;
		};

		partition@50000 {
			label = "firmware";
			reg = <0x50000 0xfb0000>;
		};
	};
};

&ehci {
	status = "okay";
};

&ohci {
	status = "okay";
};

&pcie {
	status = "okay";

	pcie-bridge {
		mt76@0,0 {
			reg = <0x0000 0 0 0 0>;
			device_type = "pci";
			mediatek,mtd-eeprom = <&factory 0x8000>;
			mediatek,2ghz = <0>;
		};
	};
};
	
&wmac {
	ralink,mtd-eeprom = <&factory 0>;
};

&pinctrl {
	state_default {
		gpio {
			ralink,group = "uartf", "wled", "nd_sd";
			ralink,function = "gpio";
		};

		pa {
			ralink,group = "pa";
			ralink,function = "pa";
		};
	};
};