Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- / {
- #address-cells = <0x01>;
- #size-cells = <0x01>;The rt2880 pinmux can only set the muxing of pin groups. Muxing indiviual pins
- is not supported. There is no pinconf support.
- compatible = "mediatek,linkit\0mediatek,mt7628an-soc";
- model = "MediaTek LinkIt Smart 7688";
- cpus {
- cpu@0 {
- compatible = "mips,mips24KEc";
- };
- };
- chosen {
- bootargs = "console=ttyS0,115200";
- };
- cpuintc@0 {
- compatible = "mti,cpu-interrupt-controller";
- interrupt-controller;
- #interrupt-cells = <0x01>;
- linux,phandle = <0x03>;
- phandle = <0x03>;
- };
- palmbus@10000000 {
- compatible = "palmbus";
- reg = <0x10000000 0x200000>;
- ranges = <0x00 0x10000000 0x1fffff>;
- #address-cells = <0x01>;
- #size-cells = <0x01>;
- sysc@0 {
- compatible = "ralink,mt7620a-sysc";
- reg = <0x00 0x100>;
- };
- watchdog@120 {
- compatible = "ralink,mt7628an-wdt\0mtk,mt7621-wdt";
- reg = <0x120 0x10>;
- resets = <0x01 0x08>;
- reset-names = "wdt";
- interrupt-parent = <0x02>;
- interrupts = <0x18>;
- };
- intc@200 {
- compatible = "ralink,mt7628an-intc\0ralink,rt2880-intc";
- reg = <0x200 0x100>;
- resets = <0x01 0x09>;
- reset-names = "intc";
- interrupt-controller;
- #interrupt-cells = <0x01>;
- interrupt-parent = <0x03>;
- interrupts = <0x02>;
- ralink,intc-registers = <0x9c 0xa0 0x6c 0xa4 0x80 0x78>;
- linux,phandle = <0x02>;
- phandle = <0x02>;
- };
- memc@300 {
- compatible = "ralink,mt7620a-memc\0ralink,rt3050-memc";
- reg = <0x300 0x100>;
- resets = <0x01 0x14>;
- reset-names = "mc";
- interrupt-parent = <0x02>;
- interrupts = <0x03>;
- };
- gpio@600 {
- #address-cells = <0x01>;
- #size-cells = <0x00>;
- compatible = "mtk,mt7628-gpio\0mtk,mt7621-gpio";
- reg = <0x600 0x100>;
- interrupt-parent = <0x02>;
- interrupts = <0x06>;
- bank@0 {
- reg = <0x00>;
- compatible = "mtk,mt7621-gpio-bank";
- gpio-controller;
- #gpio-cells = <0x02>;
- linux,phandle = <0x08>;
- phandle = <0x08>;
- };
- bank@1 {
- reg = <0x01>;
- compatible = "mtk,mt7621-gpio-bank";
- gpio-controller;
- #gpio-cells = <0x02>;
- linux,phandle = <0x12>;
- phandle = <0x12>;
- };
- bank@2 {
- reg = <0x02>;
- compatible = "mtk,mt7621-gpio-bank";
- gpio-controller;
- #gpio-cells = <0x02>;
- };
- };
- i2c@900 {
- compatible = "mediatek,mt7628-i2c";
- reg = <0x900 0x100>;
- resets = <0x01 0x10>;
- reset-names = "i2c";
- #address-cells = <0x01>;
- #size-cells = <0x00>;
- status = "disabled";
- pinctrl-names = "default";
- pinctrl-0 = <0x04>;
- };
- i2s@a00 {
- compatible = "ralink,mt7620a-i2s";
- reg = <0xa00 0x100>;
- resets = <0x01 0x11>;
- reset-names = "i2s";
- interrupt-parent = <0x02>;
- interrupts = <0x0a>;
- dmas = <0x05 0x02 0x05 0x03>;
- dma-names = "tx\0rx";
- status = "disabled";
- };
- spi@b00 {
- compatible = "ralink,mt7621-spi";
- reg = <0xb00 0x100>;
- resets = <0x01 0x12>;
- reset-names = "spi";
- #address-cells = <0x01>;
- #size-cells = <0x01>;
- pinctrl-names = "default";
- pinctrl-0 = <0x06 0x07 0x07>;
- status = "okay";
- m25p80@0 {
- #address-cells = <0x01>;
- #size-cells = <0x01>;
- compatible = "mx25l6405d";
- reg = <0x00 0x00>;
- linux,modalias = "m25p80\0mx25l6405d";
- spi-max-frequency = <0x2625a00>;
- m25p,chunked-io = <0x1f>;
- partition@0 {
- label = "u-boot";
- reg = <0x00 0x30000>;
- };
- partition@30000 {
- label = "u-boot-env";
- reg = <0x30000 0x10000>;
- };
- partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- linux,phandle = <0x11>;
- phandle = <0x11>;
- };
- partition@50000 {
- label = "firmware";
- reg = <0x50000 0x7b0000>;
- };
- };
- ads7843@2 {
- #address-cells = <0x01>;
- #size-cells = <0x01>;
- compatible = "ti,ads7843";
- reg = <0x02 0x00>;
- spi-max-frequency = <0xea60>;
- pendown-gpio = <0x08 0x0b 0x00>;
- ti,x-min = [00 00];
- ti,x-max = [1f 40];
- ti,y-min = [00 00];
- ti,y-max = [12 c0];
- ti,x-plate-ohms = [00 28];
- ti,pressure-max = [3a 98];
- linux,wakeup;
- };
- };
- uartlite@c00 {
- compatible = "ns16550a";
- reg = <0xc00 0x100>;
- reg-shift = <0x02>;
- reg-io-width = <0x04>;
- no-loopback-test;
- resets = <0x01 0x0c>;
- reset-names = "uartl";
- interrupt-parent = <0x02>;
- interrupts = <0x14>;
- pinctrl-names = "default";
- pinctrl-0 = <0x09>;
- };
- uart1@d00 {
- compatible = "ns16550a";
- reg = <0xd00 0x100>;
- reg-shift = <0x02>;
- reg-io-width = <0x04>;
- no-loopback-test;
- resets = <0x01 0x13>;
- reset-names = "uart1";
- interrupt-parent = <0x02>;
- interrupts = <0x15>;
- pinctrl-names = "default";
- pinctrl-0 = <0x0a>;
- status = "disabled";
- };
- uart2@e00 {
- compatible = "ns16550a";
- reg = <0xe00 0x100>;
- reg-shift = <0x02>;
- reg-io-width = <0x04>;
- no-loopback-test;
- resets = <0x01 0x14>;
- reset-names = "uart2";
- interrupt-parent = <0x02>;
- interrupts = <0x16>;
- pinctrl-names = "default";
- pinctrl-0 = <0x0b>;
- status = "okay";
- };
- pwm@5000 {
- compatible = "mediatek,mt7628-pwm";
- reg = <0x5000 0x1000>;
- resets = <0x01 0x1f>;
- reset-names = "pwm";
- pinctrl-names = "default";
- pinctrl-0 = <0x0c 0x0d>;
- status = "okay";
- };
- pcm@2000 {
- compatible = "ralink,mt7620a-pcm";
- reg = <0x2000 0x800>;
- resets = <0x01 0x0b>;
- reset-names = "pcm";
- interrupt-parent = <0x02>;
- interrupts = <0x04>;
- status = "disabled";
- };
- gdma@2800 {
- compatible = "ralink,mt7620a-gdma\0ralink,rt2880-gdma";
- reg = <0x2800 0x800>;
- resets = <0x01 0x0e>;
- reset-names = "dma";
- interrupt-parent = <0x02>;
- interrupts = <0x07>;
- #dma-cells = <0x01>;
- #dma-channels = <0x10>;
- #dma-requests = <0x10>;
- status = "disabled";
- linux,phandle = <0x05>;
- phandle = <0x05>;
- };
- };
- pinctrl {
- compatible = "ralink,rt2880-pinmux";
- pinctrl-names = "default";
- pinctrl-0 = <0x0e>;
- pinctrl0 {
- linux,phandle = <0x0e>;
- phandle = <0x0e>;
- gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
- };
- pwm1 {
- ralink,group = "pwm1";
- ralink,function = "gpio";
- };
- perst {
- ralink,group = "perst";
- ralink,function = "gpio";
- };
- refclk {
- ralink,group = "refclk";
- ralink,function = "gpio";
- };
- i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
- };
- i2c {
- ralink,group = "i2c";
- ralink,function = "gpio";
- };
- uart1 {
- ralink,group = "uart1";
- ralink,function = "gpio";
- };
- spis {
- ralink,group = "spis";
- ralink,function = "gpio";
- };
- wled_an {
- ralink,group = "wled_an";
- ralink,function = "wled_an";
- };
- wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
- };
- };
- spi {
- linux,phandle = <0x06>;
- phandle = <0x06>;
- spi {
- ralink,group = "spi";
- ralink,function = "spi";
- };
- };
- spi_cs1 {
- linux,phandle = <0x07>;
- phandle = <0x07>;
- spi_cs1 {
- ralink,group = "spi cs1";
- ralink,function = "spi cs1";
- };
- };
- i2c {
- linux,phandle = <0x04>;
- phandle = <0x04>;
- i2c {
- ralink,group = "i2c";
- ralink,function = "i2c";
- };
- };
- uartlite {
- linux,phandle = <0x09>;
- phandle = <0x09>;
- uartlite {
- ralink,group = "uart0";
- ralink,function = "uart0";
- };
- };
- uart1 {
- linux,phandle = <0x0a>;
- phandle = <0x0a>;
- uart1 {
- ralink,group = "uart1";
- ralink,function = "uart1";
- };
- };
- uart2 {
- linux,phandle = <0x0b>;
- phandle = <0x0b>;
- uart2 {
- ralink,group = "uart2";
- ralink,function = "uart2";
- };
- };
- sdxc {
- linux,phandle = <0x0f>;
- phandle = <0x0f>;
- sdxc {
- ralink,group = "sdmode";
- ralink,function = "sdxc";
- };
- };
- pwm0 {
- linux,phandle = <0x0c>;
- phandle = <0x0c>;
- pwm0 {
- ralink,group = "pwm0";
- ralink,function = "pwm0";
- };
- };
- pwm1 {
- linux,phandle = <0x0d>;
- phandle = <0x0d>;
- pwm1 {
- ralink,group = "pwm1";
- ralink,function = "pwm1";
- };
- };
- i2s {
- i2s {
- ralink,group = "i2s";
- ralink,function = "pcm";
- };
- };
- };
- rstctrl {
- compatible = "ralink,mt7620a-reset\0ralink,rt2880-reset";
- #reset-cells = <0x01>;
- linux,phandle = <0x01>;
- phandle = <0x01>;
- };
- usbphy@10120000 {
- compatible = "ralink,mt7628an-usbphy\0ralink,mt7620a-usbphy";
- reg = <0x10120000 0x3e8>;
- #phy-cells = <0x01>;
- resets = <0x01 0x16 0x01 0x19>;
- reset-names = "host\0device";
- linux,phandle = <0x10>;
- phandle = <0x10>;
- };
- sdhci@10130000 {
- compatible = "ralink,mt7620-sdhci";
- reg = <0x10130000 0xfa0>;
- interrupt-parent = <0x02>;
- interrupts = <0x0e>;
- pinctrl-names = "default";
- pinctrl-0 = <0x0f>;
- status = "okay";
- mediatek,cd-low;
- };
- ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci";
- reg = <0x101c0000 0x1000>;
- phys = <0x10 0x01>;
- phy-names = "usb";
- interrupt-parent = <0x02>;
- interrupts = <0x12>;
- };
- ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci";
- reg = <0x101c1000 0x1000>;
- phys = <0x10 0x01>;
- phy-names = "usb";
- interrupt-parent = <0x02>;
- interrupts = <0x12>;
- };
- ethernet@10100000 {
- compatible = "ralink,rt5350-eth";
- reg = <0x10100000 0x2710>;
- interrupt-parent = <0x03>;
- interrupts = <0x05>;
- resets = <0x01 0x15 0x01 0x17>;
- reset-names = "fe\0esw";
- mtd-mac-address = <0x11 0x28>;
- };
- esw@10110000 {
- compatible = "ralink,rt3050-esw";
- reg = <0x10110000 0x1f40>;
- resets = <0x01 0x17>;
- reset-names = "esw";
- interrupt-parent = <0x02>;
- interrupts = <0x11>;
- };
- pcie@10140000 {
- compatible = "mediatek,mt7620-pci";
- reg = <0x10140000 0x100 0x10142000 0x100>;
- #address-cells = <0x03>;
- #size-cells = <0x02>;
- resets = <0x01 0x1a>;
- reset-names = "pcie0";
- interrupt-parent = <0x03>;
- interrupts = <0x04>;
- status = "disabled";
- device_type = "pci";
- bus-range = <0x00 0xff>;
- ranges = <0x2000000 0x00 0x00 0x20000000 0x00 0x10000000 0x1000000 0x00 0x00 0x10160000 0x00 0x10000>;
- pcie-bridge {
- reg = <0x00 0x00 0x00 0x00 0x00>;
- #address-cells = <0x03>;
- #size-cells = <0x02>;
- device_type = "pci";
- };
- };
- memory@0 {
- device_type = "memory";
- reg = <0x00 0x4000000>;
- };
- gpio-keys-polled {
- compatible = "gpio-keys-polled";
- #address-cells = <0x01>;
- #size-cells = <0x00>;
- poll-interval = <0x14>;
- wps {
- label = "reset";
- gpios = <0x12 0x06 0x01>;
- linux,code = <0x211>;
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement