Import LEDE dts files for Ralink/Mediatek
This is an import of the reworked LEDE dts files. Besides other things they make it easier for us to reuse. The only diffs left are for the following SoCs: MT7620A (fbsd-mt7620a.dtsi) MT7621 (fbsd-mt7621.dtsi) MT7628 (fbsd-mt7628an.dtsi) RT3883 (fbsd-rt3883.dtsi) So we include the fbsd-*.dtsi files at the end of the original LEDE dtsi files, using '#include "fbsd-xxxx.dtsi"'. For example, for MT7621, the LEDE dtsi file is mt7621.dtsi. At the end of it we add: #include "fbsd-mt7621.dtsi" Approved by: adrian (mentor) Obtained from: LEDE project Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D6394
This commit is contained in:
parent
b51231c94e
commit
e282774be5
@ -1,35 +1,9 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
|
||||
&pcie {
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
* Our driver is different that OpenWRT's, so we need slightly
|
||||
* different values for the reg property
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
/* Specify the clocks node for the usbphy */
|
||||
usbphy: usbphy {
|
||||
clocks = <&clkctrl 22 &clkctrl 25>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
/*
|
||||
* Our driver is different that OpenWRT's, so we need slightly
|
||||
* different values for the reg property
|
||||
*/
|
||||
reg = <0x10140000 0x10000>;
|
||||
|
||||
/*
|
||||
* Also, we need resets and clocks defined, so we can properly
|
||||
* initialize the PCIe
|
||||
*/
|
||||
clocks = <&clkctrl 26>;
|
||||
};
|
||||
reg = <0x10140000 0x10000>;
|
||||
};
|
||||
|
@ -1,21 +0,0 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
/* Specify the clocks node for the usbphy */
|
||||
usbphy: usbphy {
|
||||
clocks = <&clkctrl 22 &clkctrl 25>;
|
||||
};
|
||||
};
|
@ -1,73 +1,49 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@1E000000/uartlite@c00";
|
||||
};
|
||||
&palmbus {
|
||||
gpio@600 {
|
||||
/*
|
||||
* Mark gpio as compatible to simple-bus and override
|
||||
* its #size-cells and provide a default ranges property
|
||||
* so we can attach instances of our mtk_gpio_v2 driver
|
||||
* to it for now. Provide exactly the same resources to
|
||||
* the instances of mtk_gpio_v2.
|
||||
*/
|
||||
compatible = "simple-bus";
|
||||
ranges = <0x0 0x600 0x100>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
interrupt-parent = <&gic>;
|
||||
|
||||
palmbus@1E000000 {
|
||||
uartlite@c00 { clock-frequency = <50000000>; };
|
||||
gpio0: bank@0 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
|
||||
gpio@600 {
|
||||
/*
|
||||
* Mark gpio as compatible to simple-bus and override
|
||||
* its #size-cells and provide a default ranges property
|
||||
* so we can attach instances of our mtk_gpio_v2 driver
|
||||
* to it for now. Provide exactly the same resources to
|
||||
* the instances of mtk_gpio_v2.
|
||||
*/
|
||||
compatible = "simple-bus";
|
||||
ranges = <0x0 0x600 0x100>;
|
||||
#size-cells = <1>;
|
||||
gpio1: bank@1 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
|
||||
interrupt-parent = <&gic>;
|
||||
|
||||
gpio0: bank@0 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
|
||||
gpio1: bank@1 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
|
||||
gpio2: bank@2 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
gpio2: bank@2 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <0 6 4>;
|
||||
};
|
||||
};
|
||||
|
||||
xhci@1E1C0000 {
|
||||
/*
|
||||
* A slightly different value for reg size is needed by our
|
||||
* driver for the moment
|
||||
*/
|
||||
reg = <0x1e1c0000 0x20000>;
|
||||
};
|
||||
|
||||
pcie@1e140000 {
|
||||
/*
|
||||
* Our driver is different that OpenWRT's, so we need slightly
|
||||
* different values for the reg property
|
||||
*/
|
||||
reg = <0x1e140000 0x10000>;
|
||||
|
||||
/*
|
||||
* Also, we need resets and clocks defined, so we can properly
|
||||
* initialize the PCIe
|
||||
*/
|
||||
resets = <&rstctrl 24>, <&rstctrl 25>, <&rstctrl 26>;
|
||||
clocks = <&clkctrl 24>, <&clkctrl 25>, <&clkctrl 26>;
|
||||
};
|
||||
};
|
||||
|
||||
&xhci {
|
||||
/*
|
||||
* A slightly different value for reg size is needed by our
|
||||
* driver for the moment
|
||||
*/
|
||||
reg = <0x1e1c0000 0x20000>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
/*
|
||||
* Our driver is different that OpenWRT's, so we need slightly
|
||||
* different values for the reg property
|
||||
*/
|
||||
reg = <0x1e140000 0x10000>;
|
||||
};
|
||||
|
@ -1,70 +1,39 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uart2@e00";
|
||||
};
|
||||
&palmbus {
|
||||
gpio@600 {
|
||||
/*
|
||||
* Mark gpio as compatible to simple-bus and override
|
||||
* its #size-cells and provide a default ranges property
|
||||
* so we can attach instances of our mtk_gpio_v2 driver
|
||||
* to it for now. Provide exactly the same resources to
|
||||
* the instances of mtk_gpio_v2.
|
||||
*/
|
||||
compatible = "simple-bus";
|
||||
ranges = <0x0 0x600 0x100>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
gpio0: bank@0 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
uartlite@c00 { clock-frequency = <40000000>; };
|
||||
uart1@d00 { clock-frequency = <40000000>; };
|
||||
uart2@e00 { clock-frequency = <40000000>; };
|
||||
gpio1: bank@1 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
|
||||
gpio@600 {
|
||||
/*
|
||||
* Mark gpio as compatible to simple-bus and override
|
||||
* its #size-cells and provide a default ranges property
|
||||
* so we can attach instances of our mtk_gpio_v2 driver
|
||||
* to it for now. Provide exactly the same resources to
|
||||
* the instances of mtk_gpio_v2.
|
||||
*/
|
||||
compatible = "simple-bus";
|
||||
ranges = <0x0 0x600 0x100>;
|
||||
#size-cells = <1>;
|
||||
|
||||
gpio0: bank@0 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
|
||||
gpio1: bank@1 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
|
||||
gpio2: bank@2 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
gpio2: bank@2 {
|
||||
reg = <0x0 0x100>;
|
||||
interrupts = <6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Specify the clocks node for the usbphy */
|
||||
usbphy: usbphy@10120000 {
|
||||
clocks = <&clkctrl 22 &clkctrl 25>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
&pcie {
|
||||
/*
|
||||
* Our driver is different that OpenWRT's, so we need slightly
|
||||
* different values for the reg property
|
||||
*/
|
||||
reg = <0x10140000 0x10000>;
|
||||
|
||||
/*
|
||||
* Also, we need resets and clocks defined, so we can properly
|
||||
* initialize the PCIe
|
||||
*/
|
||||
resets = <&rstctrl 26>, <&rstctrl 27>;
|
||||
clocks = <&clkctrl 26>, <&clkctrl 27>;
|
||||
};
|
||||
};
|
||||
|
@ -1,16 +0,0 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@300000/uartlite@c00";
|
||||
};
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
};
|
@ -1,23 +0,0 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
/* Specify the USB PHY */
|
||||
usbphy: usbphy {
|
||||
compatible = "ralink,rt3050-usbphy";
|
||||
resets = <&rstctrl 22>;
|
||||
clocks = <&clkctrl 18>;
|
||||
};
|
||||
};
|
@ -1,21 +0,0 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
/* Specify the clocks node for the usbphy */
|
||||
usbphy {
|
||||
clocks = <&clkctrl 18 &clkctrl 20>;
|
||||
};
|
||||
};
|
@ -1,37 +1,16 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
&pci {
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
ranges = <
|
||||
0x02000000 0 0x00000000 0x20000000 0 0x10000000
|
||||
0x01000000 0 0x00000000 0x10160000 0 0x00010000
|
||||
>;
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
interrupt-parent = <&cpuintc>;
|
||||
interrupts = <4>;
|
||||
|
||||
/* Specify the clocks node for the usbphy */
|
||||
usbphy: usbphy {
|
||||
clocks = <&clkctrl 22 &clkctrl 25>;
|
||||
clock-names = "host", "device";
|
||||
};
|
||||
|
||||
pci@10140000 {
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
ranges = <
|
||||
0x02000000 0 0x00000000 0x20000000 0 0x10000000
|
||||
0x01000000 0 0x00000000 0x10160000 0 0x00010000
|
||||
>;
|
||||
|
||||
interrupt-parent = <&cpuintc>;
|
||||
interrupts = <4>;
|
||||
|
||||
resets = <&rstctrl 23>;
|
||||
clocks = <&clkctrl 21>;
|
||||
};
|
||||
resets = <&rstctrl 23>;
|
||||
clocks = <&clkctrl 21>;
|
||||
};
|
||||
|
@ -1,21 +0,0 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/ {
|
||||
/* Specify alias for serial0 so we have a working console */
|
||||
aliases {
|
||||
serial0 = "/palmbus@10000000/uartlite@c00";
|
||||
};
|
||||
|
||||
/*
|
||||
* OpenWRT doesn't define a clock controller, but we currently need one
|
||||
*/
|
||||
clkctrl: cltctrl {
|
||||
compatible = "ralink,rt2880-clock";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
/* Specify the clocks node for the USB PHY */
|
||||
usbphy {
|
||||
clocks = <&clkctrl 18>;
|
||||
};
|
||||
};
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "3G-6200N", "ralink,rt3050-soc";
|
||||
model = "Edimax 3g-6200n";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -53,18 +44,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -102,8 +81,29 @@
|
||||
linux,code = <0x100>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "3G-6200NL", "ralink,rt3050-soc";
|
||||
model = "Edimax 3g-6200nl";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -53,18 +44,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -86,8 +65,29 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,83 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "3G150B", "ralink,rt5350-soc";
|
||||
model = "Tenda 3G150B";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio1: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -116,3 +44,73 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,58 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "3G300M", "ralink,rt3052-soc";
|
||||
model = "Tenda 3G300M";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -105,20 +58,65 @@
|
||||
linux,code = <0x100>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,82 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "A5-V11", "ralink,rt5350-soc";
|
||||
model = "A5-V11";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "pm25lq032";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio1: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -121,3 +50,73 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "pm25lq032";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x1>;
|
||||
mediatek,portdisable = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,85 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AI-BR100", "ralink,mt7620a-soc";
|
||||
model = "Aigale Ai-BR100";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "en25q64";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x20000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x20000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@30000 {
|
||||
label = "factory";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x7c0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -107,3 +33,75 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&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", "en25q64";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x20000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x20000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@30000 {
|
||||
label = "factory";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x7c0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,74 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AIR3GII", "ralink,rt5350-soc";
|
||||
model = "AirLive Air3GII";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "en25q32b";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -96,3 +33,64 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "en25q32b";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,19 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ALL0239-3G", "ralink,rt3052-soc";
|
||||
model = "Allnet ALL0239-3G";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
@ -47,19 +39,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
status = "okay";
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -108,8 +87,30 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
status = "okay";
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,74 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ALL0256N", "ralink,rt3050-soc";
|
||||
model = "Allnet ALL0256N";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3c8000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -101,3 +38,64 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3c8000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,74 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ALL0256N", "ralink,rt3050-soc";
|
||||
model = "Allnet ALL0256N";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -101,3 +38,64 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,82 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3352.dtsi"
|
||||
#include "rt3352.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ALL5002", "ralink,rt3352-soc";
|
||||
model = "Allnet ALL5002";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c-gpio {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&gpio0 1 0 &gpio0 2 0>;
|
||||
@ -109,3 +38,72 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,82 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ALL5003", "ralink,rt5350-soc";
|
||||
model = "Allnet ALL5003";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c-gpio {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&gpio0 1 0 &gpio0 2 0>;
|
||||
@ -109,3 +38,72 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,50 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt2880.dtsi"
|
||||
#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>;
|
||||
@ -103,3 +64,40 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "uartlite";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
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 {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0x2000>;
|
||||
};
|
||||
|
@ -1,50 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt2880.dtsi"
|
||||
#include "rt2880.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AR725W", "ralink,rt2880-soc";
|
||||
model = "Airlink101 AR725W";
|
||||
|
||||
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 0x4>;
|
||||
|
||||
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 0>;
|
||||
};
|
||||
|
||||
cfi@bdc00000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0xbc400000 0x800000>;
|
||||
@ -113,3 +74,40 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "uartlite";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@0 {
|
||||
phy-handle = <&phy0>;
|
||||
phy-mode = "mii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy0: ethernet-phy@0 {
|
||||
phy-mode = "mii";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,96 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ASL26555", "ralink,rt3050-soc";
|
||||
model = "Alpha ASL26555";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25sl12801";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "cert";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "langpack";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
devdata: partition@ff0000 {
|
||||
label = "devdata";
|
||||
reg = <0xff0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x1e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -154,3 +69,86 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25sl12801";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "cert";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "langpack";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
devdata: partition@ff0000 {
|
||||
label = "devdata";
|
||||
reg = <0xff0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x1e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,90 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ASL26555", "ralink,rt3050-soc";
|
||||
model = "Alpha ASL26555";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25sl064p";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
ubootenv: partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "rgdb";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
||||
partition@7e0000 {
|
||||
label = "cert";
|
||||
reg = <0x7e0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@7f0000 {
|
||||
label = "langpack";
|
||||
reg = <0x7f0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&ubootenv 0x4004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x1e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&ubootenv 0x4000>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -148,3 +69,80 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25sl064p";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
ubootenv: partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "rgdb";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
||||
partition@7e0000 {
|
||||
label = "cert";
|
||||
reg = <0x7e0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@7f0000 {
|
||||
label = "langpack";
|
||||
reg = <0x7f0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&ubootenv 0x4004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x1e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&ubootenv 0x4000>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ATP-52B", "ralink,rt3052-soc";
|
||||
model = "Argus ATP-52B";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -77,20 +68,30 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,66 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AWAPN2403", "ralink,rt3052-soc";
|
||||
model = "AsiaRF AWAPN2403";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -83,3 +28,56 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,15 +1,11 @@
|
||||
/include/ "AWM002.dtsi"
|
||||
#include "AWM002.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AWM002", "ralink,rt5350-soc";
|
||||
model = "AsiaRF AWM002";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&m25p80 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
};
|
||||
|
@ -1,15 +1,11 @@
|
||||
/include/ "AWM002.dtsi"
|
||||
#include "AWM002.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AWM002", "ralink,rt5350-soc";
|
||||
model = "AsiaRF AWM002";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&m25p80 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
};
|
||||
|
@ -1,18 +1,10 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "AWM002-4M.dtsi"
|
||||
#include "AWM002-4M.dtsi"
|
||||
|
||||
/ {
|
||||
model = "AsiaRF AWM002 EVB";
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -51,3 +43,11 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,18 +1,10 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "AWM002-8M.dtsi"
|
||||
#include "AWM002-8M.dtsi"
|
||||
|
||||
/ {
|
||||
model = "AsiaRF AWM002 EVB";
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -51,3 +43,11 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,67 +1,9 @@
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AWM002", "ralink,rt5350-soc";
|
||||
model = "AsiaRF AWM002";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
reg = <0 0>;
|
||||
compatible = "jedec,spi-nor";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -76,3 +18,59 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80: m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
reg = <0 0>;
|
||||
compatible = "jedec,spi-nor";
|
||||
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 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "AWM002-8M.dtsi"
|
||||
#include "AWM002-8M.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "AWM003", "ralink,rt5350-soc";
|
||||
@ -11,23 +11,6 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -66,3 +49,16 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&m25p80 {
|
||||
compatible = "jedec,spi-nor";
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ralink,mt7620a-soc";
|
||||
@ -10,101 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x20000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
||||
partition@7c0000 {
|
||||
label = "config";
|
||||
reg = <0x7c0000 0x10000>;
|
||||
};
|
||||
|
||||
rom: partition@7d0000 {
|
||||
label = "rom";
|
||||
reg = <0x7d0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@7e0000 {
|
||||
label = "romfile";
|
||||
reg = <0x7e0000 0x10000>;
|
||||
};
|
||||
|
||||
radio: partition@7f0000 {
|
||||
label = "radio";
|
||||
reg = <0x7f0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&rom 0xf100>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gsw@10110000 {
|
||||
mediatek,port4 = "ephy";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&radio 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 32768>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
};
|
||||
@ -116,3 +21,96 @@
|
||||
poll-interval = <20>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x20000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
||||
partition@7c0000 {
|
||||
label = "config";
|
||||
reg = <0x7c0000 0x10000>;
|
||||
};
|
||||
|
||||
rom: partition@7d0000 {
|
||||
label = "rom";
|
||||
reg = <0x7d0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@7e0000 {
|
||||
label = "romfile";
|
||||
reg = <0x7e0000 0x10000>;
|
||||
};
|
||||
|
||||
radio: partition@7f0000 {
|
||||
label = "radio";
|
||||
reg = <0x7f0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&rom 0xf100>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "ephy";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&radio 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 32768>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "BC2", "ralink,rt3052-soc";
|
||||
model = "NexAira BC2";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -68,20 +59,29 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "BR-6425", "ralink,rt3052-soc";
|
||||
model = "Edimax BR-6425";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -24,18 +15,6 @@
|
||||
#size-cells = <1>;
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -69,3 +48,24 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
/* mtd-mac-address = <&factory 0x4>; */
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
/* ralink,mtd-eeprom = <&factory 0>; */
|
||||
};
|
||||
|
@ -1,82 +1,50 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3883.dtsi"
|
||||
#include "rt3883.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "BR-6475ND", "ralink,rt3883-soc";
|
||||
model = "Edimax BR-6475nD";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <100>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
|
||||
rfkill {
|
||||
label = "rfkill";
|
||||
gpios = <&gpio0 9 1>;
|
||||
linux,input-type = <5>;
|
||||
linux,code = <0xf7>;
|
||||
};
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
timer@100 {
|
||||
status = "okay";
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
label = "br-6475nd:green:power";
|
||||
gpios = <&gpio0 10 1>;
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
wlan {
|
||||
label = "br-6475nd:amber:wlan";
|
||||
gpios = <&gpio0 11 1>;
|
||||
};
|
||||
|
||||
uartlite@c00 {
|
||||
status = "okay";
|
||||
wlan_5ghz {
|
||||
label = "br-6475nd:amber:wlan_5ghz";
|
||||
gpios = <&gpio0 14 1>;
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&devdata 0x0d>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pci@10140000 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pci_pins>;
|
||||
|
||||
pci_pins: pci {
|
||||
pci {
|
||||
ralink,group = "pci";
|
||||
ralink,function = "pci-fnc";
|
||||
};
|
||||
};
|
||||
|
||||
host-bridge {
|
||||
pci-bridge@1 {
|
||||
status = "okay";
|
||||
|
||||
wmac@0,0 {
|
||||
ralink,5ghz = <0>;
|
||||
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
|
||||
reg = < 0x10000 0 0 0 0 >;
|
||||
ralink,eeprom = "rt2x00pci_1_0.eeprom";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
nor-flash@1c000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1c000000 0x800000>;
|
||||
@ -126,45 +94,6 @@
|
||||
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <100>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
|
||||
rfkill {
|
||||
label = "rfkill";
|
||||
gpios = <&gpio0 9 1>;
|
||||
linux,input-type = <5>;
|
||||
linux,code = <0xf7>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
label = "br-6475nd:green:power";
|
||||
gpios = <&gpio0 10 1>;
|
||||
};
|
||||
|
||||
wlan {
|
||||
label = "br-6475nd:amber:wlan";
|
||||
gpios = <&gpio0 11 1>;
|
||||
};
|
||||
|
||||
wlan_5ghz {
|
||||
label = "br-6475nd:amber:wlan_5ghz";
|
||||
gpios = <&gpio0 14 1>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Unclear if this is the correct gpio setup; the USB ports are
|
||||
unpopulated on a stock BR-6475nD, even though the hardware exists
|
||||
and the headers are there. */
|
||||
@ -181,3 +110,72 @@
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&timer {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uartlite {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&devdata 0x0d>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pci {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pci_pins>;
|
||||
|
||||
pci_pins: pci {
|
||||
pci {
|
||||
ralink,group = "pci";
|
||||
ralink,function = "pci-fnc";
|
||||
};
|
||||
};
|
||||
|
||||
host-bridge {
|
||||
pci-bridge@1 {
|
||||
status = "okay";
|
||||
|
||||
wmac@0,0 {
|
||||
ralink,5ghz = <0>;
|
||||
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
|
||||
reg = < 0x10000 0 0 0 0 >;
|
||||
ralink,eeprom = "rt2x00pci_1_0.eeprom";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "BROADWAY", "ralink,rt3052-soc";
|
||||
model = "Hauppauge Broadway";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -85,8 +64,29 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "CARAMBOLA", "ralink,rt3050-soc";
|
||||
@ -10,15 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -51,25 +42,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c-gpio {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&gpio0 1 0 &gpio0 2 0>;
|
||||
i2c-gpio,delay-us = <10>;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620n.dtsi"
|
||||
#include "mt7620n.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "cf-wr800n", "ralink,mt7620n-soc";
|
||||
@ -10,77 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q64";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "ephy", "wled", "spi refclk", "i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -113,3 +42,72 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
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", "w25q64";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "ephy", "wled", "spi refclk", "i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
161
sys/gnu/dts/mips/CS-QR10.dts
Normal file
161
sys/gnu/dts/mips/CS-QR10.dts
Normal file
@ -0,0 +1,161 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ralink,mt7620a-soc";
|
||||
model = "Planex CS-QR10";
|
||||
|
||||
sound {
|
||||
compatible = "mediatek,mt7620-audio-wm8960";
|
||||
model = "mt7620-wm8960";
|
||||
i2s-controller = <&i2s>;
|
||||
audio-routing =
|
||||
"Ext Spk", "SPK_LP",
|
||||
"Ext Spk", "SPK_LN",
|
||||
"Ext Spk", "SPK_RP",
|
||||
"Ext Spk", "SPK_RN";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
label = "cs-qr10:red:power";
|
||||
gpios = <&gpio1 4 1>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
|
||||
s1 {
|
||||
label = "reset";
|
||||
gpios = <&gpio1 1 1>;
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
|
||||
s2 {
|
||||
label = "wps";
|
||||
gpios = <&gpio1 3 1>;
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2s {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcm_i2s_pins>;
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pcm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gdma {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi refclk", "rgmii1";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
wdt {
|
||||
ralink,group = "wdt";
|
||||
ralink,function = "wdt refclk";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&gsw {
|
||||
ralink,port4 = "ephy";
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
@ -1,73 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3883.dtsi"
|
||||
#include "rt3883.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "CY-SWR1100", "ralink,rt3883-soc";
|
||||
model = "Samsung CY-SWR1100";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
|
||||
pci@10140000 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pci_pins>;
|
||||
|
||||
pci_pins: pci {
|
||||
pci {
|
||||
ralink,group = "pci";
|
||||
ralink,function = "pci-fnc";
|
||||
};
|
||||
};
|
||||
|
||||
host-bridge {
|
||||
pci-bridge@1 {
|
||||
status = "okay";
|
||||
|
||||
wmac@0,0 {
|
||||
ralink,5ghz = <0>;
|
||||
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
|
||||
reg = < 0x10000 0 0 0 0 >;
|
||||
ralink,eeprom = "rt2x00pci_1_0.eeprom";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
status = "okay";
|
||||
ralink,2ghz = <0>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
nor-flash@1c000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1c000000 0x800000>;
|
||||
@ -150,3 +88,63 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
|
||||
&pci {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pci_pins>;
|
||||
|
||||
pci_pins: pci {
|
||||
pci {
|
||||
ralink,group = "pci";
|
||||
ralink,function = "pci-fnc";
|
||||
};
|
||||
};
|
||||
|
||||
host-bridge {
|
||||
pci-bridge@1 {
|
||||
status = "okay";
|
||||
|
||||
wmac@0,0 {
|
||||
ralink,5ghz = <0>;
|
||||
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
|
||||
reg = < 0x10000 0 0 0 0 >;
|
||||
ralink,eeprom = "rt2x00pci_1_0.eeprom";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,2ghz = <0>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "D105", "ralink,rt3050-soc";
|
||||
model = "Huawei D105";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -73,20 +64,29 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DAP-1350", "ralink,rt3052-soc";
|
||||
@ -10,15 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -57,18 +48,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&devdata 0x2e>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -118,8 +97,29 @@
|
||||
linux,code = <0x101>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&devdata 0x2e>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,81 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ralink,mt7620a-soc";
|
||||
model = "Planex DB-WRT01";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "en25q64";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi refclk", "rgmii1";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
gsw@10110000 {
|
||||
mediatek,port4 = "ephy";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -98,3 +28,71 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi refclk", "rgmii1";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "ephy";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DCS-930", "ralink,rt3050-soc";
|
||||
model = "D-Link DCS-930";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x400000>;
|
||||
@ -94,20 +85,29 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,78 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DCS-930L-B1", "ralink,rt5350-soc";
|
||||
model = "D-Link DCS-930L B1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -106,3 +39,68 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-300-B1", "ralink,rt3050-soc";
|
||||
model = "D-Link DIR-300 B1";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -107,3 +86,24 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
@ -1,67 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-300-B7", "ralink,rt5350-soc";
|
||||
model = "D-Link DIR-300 B7";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -94,10 +38,64 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
status = "okay";
|
||||
ralink,led-polarity = <1>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,led-polarity = <1>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,71 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-320-B1", "ralink,rt5350-soc";
|
||||
model = "D-Link DIR-320 B1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -104,14 +44,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio_export {
|
||||
compatible = "gpio-export";
|
||||
#size-cells = <0>;
|
||||
@ -129,3 +61,69 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-600-B1", "ralink,rt3050-soc";
|
||||
model = "D-Link DIR-600 B1";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -107,3 +86,24 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-600-B2", "ralink,rt3050-soc";
|
||||
model = "D-Link DIR-600 B2";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,14 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -103,3 +86,20 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
@ -1,74 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-610-A1", "ralink,rt5350-soc";
|
||||
model = "D-Link DIR-610 A1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
devdata: partition@30000 {
|
||||
label = "devdata";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
status = "okay";
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
status = "okay";
|
||||
ralink,led-polarity = <1>;
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -102,3 +39,64 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
devdata: partition@30000 {
|
||||
label = "devdata";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&devdata 0x4004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
status = "okay";
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <0x17>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,led-polarity = <1>;
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-615-D", "ralink,rt3050-soc";
|
||||
model = "D-Link DIR-615 D";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,14 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -103,3 +86,22 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&devdata 0x4000>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,80 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3352.dtsi"
|
||||
#include "rt3352.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-615-H1", "ralink,rt3352-soc";
|
||||
model = "D-Link DIR-615 H1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
rgmii {
|
||||
ralink,group = "rgmii";
|
||||
ralink,function = "rgmii";
|
||||
};
|
||||
|
||||
mdio {
|
||||
ralink,group = "mdio";
|
||||
ralink,function = "mdio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -123,3 +54,70 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
rgmii {
|
||||
ralink,group = "rgmii";
|
||||
ralink,function = "rgmii";
|
||||
};
|
||||
|
||||
mdio {
|
||||
ralink,group = "mdio";
|
||||
ralink,function = "mdio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-620-A1", "ralink,rt3050-soc";
|
||||
model = "D-Link DIR-620 A1";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -111,8 +90,29 @@
|
||||
gpios = <&gpio0 11 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,80 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3352.dtsi"
|
||||
#include "rt3352.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-620-D1", "ralink,rt3352-soc";
|
||||
model = "D-Link DIR-620 D1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
rgmii {
|
||||
ralink,group = "rgmii";
|
||||
ralink,function = "rgmii";
|
||||
};
|
||||
|
||||
mdio {
|
||||
ralink,group = "mdio";
|
||||
ralink,function = "mdio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -101,12 +32,79 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
rgmii {
|
||||
ralink,group = "rgmii";
|
||||
ralink,function = "rgmii";
|
||||
};
|
||||
|
||||
mdio {
|
||||
ralink,group = "mdio";
|
||||
ralink,function = "mdio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,94 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3883.dtsi"
|
||||
#include "rt3883.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "DIR-645", "ralink,rt3883-soc";
|
||||
model = "D-Link DIR-645";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <25000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@34000 {
|
||||
label = "factory";
|
||||
reg = <0x34000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@38000 {
|
||||
label = "nvram";
|
||||
reg = <0x38000 0x8000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "devdata";
|
||||
reg = <0x40000 0x10000>;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 0>;
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,5ghz = <0>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rtl8367b {
|
||||
compatible = "realtek,rtl8367b";
|
||||
gpio-sda = <&gpio0 1 0>;
|
||||
@ -140,3 +57,84 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <25000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "uboot-env";
|
||||
reg = <0x30000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@34000 {
|
||||
label = "factory";
|
||||
reg = <0x34000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@38000 {
|
||||
label = "nvram";
|
||||
reg = <0x38000 0x8000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "devdata";
|
||||
reg = <0x40000 0x10000>;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,5ghz = <0>;
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,101 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
|
||||
model = "D-Link DIR-810L";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
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;
|
||||
};
|
||||
|
||||
factory5g: partition@50000 {
|
||||
label = "factory5g";
|
||||
reg = <0x50000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@60000 {
|
||||
label = "Wolf_Config";
|
||||
reg = <0x60000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@70000 {
|
||||
label = "MyDlink";
|
||||
reg = <0x70000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@e0000 {
|
||||
label = "Jffs2";
|
||||
reg = <0xe0000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@170000 {
|
||||
label = "firmware";
|
||||
reg = <0x170000 0x690000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
gsw@10110000 {
|
||||
mediatek,port4 = "ephy";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -134,3 +44,91 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
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;
|
||||
};
|
||||
|
||||
factory5g: partition@50000 {
|
||||
label = "factory5g";
|
||||
reg = <0x50000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@60000 {
|
||||
label = "Wolf_Config";
|
||||
reg = <0x60000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@70000 {
|
||||
label = "MyDlink";
|
||||
reg = <0x70000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@e0000 {
|
||||
label = "Jffs2";
|
||||
reg = <0xe0000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@170000 {
|
||||
label = "firmware";
|
||||
reg = <0x170000 0x690000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "ephy";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -15,87 +15,6 @@
|
||||
bootargs = "console=ttyS0,57600";
|
||||
};
|
||||
|
||||
palmbus@1E000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
radio: partition@34000 {
|
||||
label = "radio";
|
||||
reg = <0x34000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@38000 {
|
||||
label = "factory";
|
||||
reg = <0x38000 0x8000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "defaults";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pcie@1e140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 0x2000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie1 {
|
||||
mt76@1,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 0>;
|
||||
mediatek,5ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -127,3 +46,82 @@
|
||||
poll-interval = <20>;
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
radio: partition@34000 {
|
||||
label = "radio";
|
||||
reg = <0x34000 0x4000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@38000 {
|
||||
label = "factory";
|
||||
reg = <0x38000 0x8000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "defaults";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
|
||||
pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 0x2000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie1 {
|
||||
mt76@1,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&radio 0>;
|
||||
mediatek,5ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -10,115 +10,12 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "linksys,e1700", "ralink,mt7620a-soc";
|
||||
model = "Linksys E1700";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "config";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy1: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy2: ethernet-phy@2 {
|
||||
reg = <2>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy3: ethernet-phy@3 {
|
||||
reg = <3>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy4: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy1f: ethernet-phy@1f {
|
||||
reg = <0x1f>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gsw@10110000 {
|
||||
mediatek,port4 = "gmac";
|
||||
mediatek,mt7530 = <1>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -152,3 +49,104 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "config";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy1: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy2: ethernet-phy@2 {
|
||||
reg = <2>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy3: ethernet-phy@3 {
|
||||
reg = <3>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy4: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy1f: ethernet-phy@1f {
|
||||
reg = <0x1f>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "gmac";
|
||||
mediatek,mt7530 = <1>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ESR-9753", "ralink,rt3052-soc";
|
||||
model = "Senao / EnGenius ESR-9753";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -79,16 +70,25 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ralink,mt7620a-soc";
|
||||
@ -20,73 +20,6 @@
|
||||
bootargs = "console=ttyS0,57600";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x3b0000>;
|
||||
};
|
||||
|
||||
art: partition@3f0000 {
|
||||
label = "art";
|
||||
reg = <0x3f0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&art 0x1000>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
// spi refclk: pins 37, 38, 39
|
||||
// uartf: pins 8, 9, 10, 11, 12, 13, 14
|
||||
// i2c: pins 1, 2
|
||||
ralink,group = "i2c", "uartf", "spi refclk";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -146,3 +79,67 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x3b0000>;
|
||||
};
|
||||
|
||||
art: partition@3f0000 {
|
||||
label = "art";
|
||||
reg = <0x3f0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&art 0x1000>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
// spi refclk: pins 37, 38, 39
|
||||
// uartf: pins 8, 9, 10, 11, 12, 13, 14
|
||||
// i2c: pins 1, 2
|
||||
ralink,group = "i2c", "uartf", "spi refclk";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt2880.dtsi"
|
||||
#include "rt2880.dtsi"
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
@ -8,21 +8,6 @@
|
||||
compatible = "F5D8235_V1", "ralink,rt2880-soc";
|
||||
model = "Belkin F5D8235 v1";
|
||||
|
||||
palmbus@300000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -55,21 +40,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@400000 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
/* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */
|
||||
/* wmac@480000 {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&u-boot 0x40000>;
|
||||
};
|
||||
*/
|
||||
rtl8366s {
|
||||
compatible = "realtek,rtl8366s";
|
||||
gpio-sda = <&gpio0 1 0>;
|
||||
@ -109,3 +79,33 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@0 {
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
/* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */
|
||||
/*&wmac {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&u-boot 0x40000>;
|
||||
};
|
||||
*/
|
||||
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "F5D8235_V2", "ralink,rt3052-soc";
|
||||
model = "Belkin F5D8235 v2";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -45,22 +36,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&uboot 0x40004>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&uboot 0x40000>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rtl8366rb {
|
||||
compatible = "rtl8366rb";
|
||||
gpio-sda = <&gpio0 1 0>;
|
||||
@ -116,3 +91,28 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&uboot 0x40004>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&uboot 0x40000>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,87 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "F7C027", "ralink,rt5350-soc";
|
||||
model = "Belkin F7C027";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l12805d";
|
||||
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 0x770000>;
|
||||
};
|
||||
|
||||
partition@7c0000 {
|
||||
label = "firmware2";
|
||||
reg = <0x7c0000 0x770000>;
|
||||
};
|
||||
|
||||
partition@f30000 {
|
||||
label = "belkin_settings";
|
||||
reg = <0xf30000 0xa0000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "unknown";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "user_factory";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -131,3 +55,77 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l12805d";
|
||||
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 0x770000>;
|
||||
};
|
||||
|
||||
partition@7c0000 {
|
||||
label = "firmware2";
|
||||
reg = <0x7c0000 0x770000>;
|
||||
};
|
||||
|
||||
partition@f30000 {
|
||||
label = "belkin_settings";
|
||||
reg = <0xf30000 0xa0000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "unknown";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "user_factory";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -15,74 +15,6 @@
|
||||
bootargs = "console=ttyS0,57600";
|
||||
};
|
||||
|
||||
sdhci@10130000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
palmbus@1E000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pcie@1e140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie1 {
|
||||
mt76@1,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x0000>;
|
||||
mediatek,5ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@1e100000 {
|
||||
mtd-mac-address = <&factory 0xe000>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -110,13 +42,79 @@
|
||||
linux,code = <116>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wdt", "rgmii2";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
|
||||
pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie1 {
|
||||
mt76@1,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x0000>;
|
||||
mediatek,5ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0xe000>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wdt", "rgmii2";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "FONERA20N", "ralink,rt3052-soc";
|
||||
model = "La Fonera 2.0N";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -85,50 +76,59 @@
|
||||
linux,input-type = <5>; /* EV_SW */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
|
||||
port@0 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <0 4>;
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
port@1 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <1 3>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <2 2>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <3 1>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "wan";
|
||||
swconfig,portmap = <4 0>;
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
|
||||
port@0 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <0 4>;
|
||||
};
|
||||
|
||||
port@1 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <1 3>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <2 2>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <3 1>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "wan";
|
||||
swconfig,portmap = <4 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "FREESTATION5", "ralink,rt3050-soc";
|
||||
@ -10,15 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -51,22 +42,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x01>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-export {
|
||||
compatible = "gpio-export";
|
||||
|
||||
@ -100,3 +75,28 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x01>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "GL-MT300A", "ralink,mt7620a-soc";
|
||||
@ -10,109 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sdhci@10130000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "wllll";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","uartf","i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -162,3 +59,104 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","uartf","i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,112 +1,15 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620n.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "GL-MT300N", "ralink,mt7620n-soc";
|
||||
compatible = "GL-MT300N", "ralink,mt7620a-soc";
|
||||
model = "GL-MT300N";
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "wllll";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -151,3 +54,98 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","i2c";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "GL-MT750", "ralink,mt7620a-soc";
|
||||
@ -10,109 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sdhci@10130000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "llllw";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -157,3 +54,104 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q128";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q128";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
ralink,port-map = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "wled","ephy","uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "HC5XXX.dtsi"
|
||||
#include "HC5XXX.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HC5661", "ralink,mt7620a-soc";
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "HC5XXX.dtsi"
|
||||
#include "HC5XXX.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HC5761", "ralink,mt7620a-soc";
|
||||
|
@ -1,49 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "HC5XXX.dtsi"
|
||||
#include "HC5XXX.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HC5861", "ralink,mt7620a-soc";
|
||||
model = "HiWiFi HC5861";
|
||||
|
||||
ethernet@10100000 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@4 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy5>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy4: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy5: ethernet-phy@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gsw@10110000 {
|
||||
mediatek,port4 = "gmac";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -90,3 +52,41 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@4 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy5>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy4: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
phy5: ethernet-phy@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "gmac";
|
||||
};
|
||||
|
@ -1,120 +1,10 @@
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
sysc@0 {
|
||||
ralink,gpiomux = "i2c", "jtag";
|
||||
ralink,uartmux = "gpio";
|
||||
ralink,wdtmux = <1>;
|
||||
};
|
||||
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
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>;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "hwf_config";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
bdinfo: partition@fe0000 {
|
||||
label = "bdinfo";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "backup";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
sdhci@10130000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "uartf", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
pa {
|
||||
ralink,group = "pa";
|
||||
ralink,function = "pa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -139,3 +29,111 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sysc {
|
||||
ralink,gpiomux = "i2c", "jtag";
|
||||
ralink,uartmux = "gpio";
|
||||
ralink,wdtmux = <1>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "hwf_config";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
bdinfo: partition@fe0000 {
|
||||
label = "bdinfo";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "backup";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default {
|
||||
gpio {
|
||||
ralink,group = "uartf", "wled", "nd_sd";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
pa {
|
||||
ralink,group = "pa";
|
||||
ralink,function = "pa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HG255D", "ralink,rt3052-soc";
|
||||
model = "HuaWei HG255D";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x1000000>;
|
||||
@ -111,20 +102,29 @@
|
||||
linux,code = <0xf7>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HLKRM04", "ralink,rt5350-soc";
|
||||
@ -15,78 +15,6 @@
|
||||
bootargs = "console=ttyS1,57600";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
uart@500 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
uartf_gpio {
|
||||
ralink,group = "uartf";
|
||||
ralink,function = "gpio uartf";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-export {
|
||||
compatible = "gpio-export";
|
||||
#size-cells = <0>;
|
||||
@ -123,3 +51,73 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
uartf_gpio {
|
||||
ralink,group = "uartf";
|
||||
ralink,function = "gpio uartf";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3883.dtsi"
|
||||
#include "rt3883.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HPM", "ralink,rt3883-soc";
|
||||
@ -10,78 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <25000000>;
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
reg = <0x0 0x0030000>;
|
||||
label = "u-boot";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
reg = <0x00030000 0x00010000>;
|
||||
label = "config";
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
reg = <0x00040000 0x00010000>;
|
||||
label = "factory";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
reg = <0x00050000 0x00fb0000>;
|
||||
label = "firmware";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
phy-handle = <&phy0>;
|
||||
phy-mode = "rgmii";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy0: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@ -147,3 +75,73 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <25000000>;
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
reg = <0x0 0x0030000>;
|
||||
label = "u-boot";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
reg = <0x00030000 0x00010000>;
|
||||
label = "config";
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
reg = <0x00040000 0x00010000>;
|
||||
label = "factory";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
reg = <0x00050000 0x00fb0000>;
|
||||
label = "firmware";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
phy-handle = <&phy0>;
|
||||
phy-mode = "rgmii";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy0: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,82 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HT-TM02", "ralink,rt5350-soc";
|
||||
model = "HooToo HT-TM02";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x10>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -111,3 +40,73 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x10>;
|
||||
mediatek,portdisable = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "HW550-3G", "ralink,rt3052-soc";
|
||||
model = "Aztech HW550-3G";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -107,8 +86,29 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "IP2202", "ralink,rt3052-soc";
|
||||
model = "Poray IP2202";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,14 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -81,8 +64,25 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,70 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "JHR-N805R", "ralink,rt3050-soc";
|
||||
model = "JCG JHR-N805R";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -87,3 +28,60 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l3205d";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "JHR-N825R", "ralink,rt3052-soc";
|
||||
model = "JCG JHR-N825R";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
system {
|
||||
@ -79,3 +58,24 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "JHR-N926R", "ralink,rt3052-soc";
|
||||
model = "JCG JHR-N926R";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,18 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -125,3 +104,24 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7628an.dtsi"
|
||||
#include "mt7628an.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "mediatek,linkit", "mediatek,mt7628an-soc";
|
||||
@ -10,133 +10,15 @@
|
||||
bootargs = "console=ttyS2,57600";
|
||||
};
|
||||
|
||||
aliases {
|
||||
serial0 = &uart2;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x8000000>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
perst {
|
||||
ralink,group = "perst";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
refclk {
|
||||
ralink,group = "refclk";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
i2s {
|
||||
ralink,group = "i2s";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
spis {
|
||||
ralink,group = "spis";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
wled_kn {
|
||||
ralink,group = "wled_kn";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
wled_an {
|
||||
ralink,group = "wled_an";
|
||||
ralink,function = "wled_an";
|
||||
};
|
||||
|
||||
wdt {
|
||||
ralink,group = "wdt";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10300000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
spi-max-frequency = <40000000>;
|
||||
m25p,chunked-io = <31>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
|
||||
spidev@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "spidev";
|
||||
reg = <1 0>;
|
||||
spi-max-frequency = <40000000>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@900 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart1@d00 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart2@e00 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pwm@5000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
sdhci@10130000 {
|
||||
status = "okay";
|
||||
mediatek,cd-high;
|
||||
};
|
||||
|
||||
bootstrap {
|
||||
compatible = "mediatek,linkit";
|
||||
|
||||
@ -145,7 +27,7 @@
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
|
||||
wifi {
|
||||
label = "mediatek:orange:wifi";
|
||||
gpios = <&wgpio 0 0>;
|
||||
@ -158,7 +40,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
|
||||
|
||||
wps {
|
||||
label = "reset";
|
||||
gpios = <&gpio1 6 1>;
|
||||
@ -173,5 +55,128 @@
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
perst {
|
||||
ralink,group = "perst";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
refclk {
|
||||
ralink,group = "refclk";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
i2s {
|
||||
ralink,group = "i2s";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
spis {
|
||||
ralink,group = "spis";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
wled_kn {
|
||||
ralink,group = "wled_kn";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
wled_an {
|
||||
ralink,group = "wled_an";
|
||||
ralink,function = "wled_an";
|
||||
};
|
||||
|
||||
wdt {
|
||||
ralink,group = "wdt";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l25635e";
|
||||
spi-max-frequency = <40000000>;
|
||||
m25p,chunked-io = <31>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
};
|
||||
|
||||
spidev@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "spidev";
|
||||
reg = <1 0>;
|
||||
spi-max-frequency = <40000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
mediatek,cd-high;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "M2M", "ralink,rt5350-soc";
|
||||
@ -10,53 +10,6 @@
|
||||
bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "Bootloader";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "Config";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "Factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -89,24 +42,69 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
partition@0 {
|
||||
label = "Bootloader";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
partition@30000 {
|
||||
label = "Config";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0x0>;
|
||||
factory: partition@40000 {
|
||||
label = "Factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0x0>;
|
||||
};
|
||||
|
@ -1,67 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "M3", "ralink,rt5350-soc";
|
||||
model = "Poray M3";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q32";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -90,17 +34,71 @@
|
||||
linux,input-type = <5>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q32";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,67 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "M4", "ralink,rt5350-soc";
|
||||
model = "Poray M4";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "pm25lq032";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -83,12 +27,66 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "pm25lq032";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,67 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "M4", "ralink,rt5350-soc";
|
||||
model = "Poray M4";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "gd25q64";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -83,17 +27,71 @@
|
||||
linux,code = <0x198>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "gd25q64";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
mediatek,led_polarity = <1>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
ralink,led-polarity = <1>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MINIEMBPLUG", "ralink,rt5350-soc";
|
||||
model = "Omnima MiniEMBPlug";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -59,62 +50,73 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "mx25l6405d";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MINIEMBWIFI", "ralink,rt3052-soc";
|
||||
model = "Omnima MiniEMBWiFi";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -73,20 +64,29 @@
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620a.dtsi"
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
|
||||
@ -10,117 +10,6 @@
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio1: gpio@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
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>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "crash";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "reserved";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "Bdata";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pcie@10140000 {
|
||||
status = "okay";
|
||||
|
||||
pcie-bridge {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
mediatek,2ghz = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "rgmii1";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
pa {
|
||||
ralink,group = "pa";
|
||||
ralink,function = "pa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -153,3 +42,112 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
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>;
|
||||
};
|
||||
|
||||
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 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "crash";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "reserved";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "Bdata";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "rgmii1";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
|
||||
pa {
|
||||
ralink,group = "pa";
|
||||
ralink,function = "pa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7628an.dtsi"
|
||||
#include "mt7628an.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "xiaomi,MiWifi Nano", "mediatek,mt7628an-soc";
|
||||
@ -15,15 +15,6 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "refclk", "wled", "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -44,48 +35,54 @@
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
wmac@10300000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
m25p,chunked-io = <32>;
|
||||
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "refclk", "wled", "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
spi-max-frequency = <10000000>;
|
||||
m25p,chunked-io = <32>;
|
||||
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,92 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620n.dtsi"
|
||||
#include "mt7620n.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "mlw221", "ralink,mt7620n-soc";
|
||||
model = "Kingston MLW221";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl129p1";
|
||||
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 0xf60000>;
|
||||
};
|
||||
|
||||
partition@fb0000 {
|
||||
label = "user-config";
|
||||
reg = <0xfb0000 0x50000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "i2c", "ephy", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -120,3 +39,82 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&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", "s25fl129p1";
|
||||
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 0xf60000>;
|
||||
};
|
||||
|
||||
partition@fb0000 {
|
||||
label = "user-config";
|
||||
reg = <0xfb0000 0x50000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "i2c", "ephy", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,92 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "mt7620n.dtsi"
|
||||
#include "mt7620n.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "mlwg2", "ralink,mt7620n-soc";
|
||||
model = "Kingston MLWG2";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio0: gpio@600 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio3: gpio@688 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80";
|
||||
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 0xf60000>;
|
||||
};
|
||||
|
||||
partition@fb0000 {
|
||||
label = "user-config";
|
||||
reg = <0xfb0000 0x50000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "i2c", "ephy", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -120,3 +39,82 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&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";
|
||||
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 0xf60000>;
|
||||
};
|
||||
|
||||
partition@fb0000 {
|
||||
label = "user-config";
|
||||
reg = <0xfb0000 0x50000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "i2c", "ephy", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MOFI3500-3GN", "ralink,rt3052-soc";
|
||||
model = "MoFi Network MOFI3500-3GN";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -47,10 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -99,13 +86,26 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,82 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MPRA1", "ralink,rt5350-soc";
|
||||
model = "HAME MPR-A1";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio1: gpio@660 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -121,3 +50,72 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,78 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MPRA2", "ralink,rt5350-soc";
|
||||
model = "HAME MPR-A2";
|
||||
|
||||
palmbus@10000000 {
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -117,3 +50,68 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "s25fl064k";
|
||||
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 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -1,20 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt3050.dtsi"
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "MR-102N", "ralink,rt3052-soc";
|
||||
model = "AXIMCom MR-102N";
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
@ -57,20 +48,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
status = "okay";
|
||||
#mediatek,portmap = <0x3e>;
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
@ -108,8 +85,32 @@
|
||||
linux,code = <0x211>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
otg@101c0000 {
|
||||
status = "okay";
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
status = "okay";
|
||||
#mediatek,portmap = <0x3e>;
|
||||
mediatek,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user