Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /include/ "rt3883.dtsi"
- / {
- compatible = "AL3000DG_V2", "ralink,rt3883-soc";
- model = "Jensen Scandinavia AL3000DG v2";
- palmbus@10000000 {
- timer@100 {
- status = "okay";
- };
- gpio1: gpio@638 {
- status = "okay";
- };
- uartlite@c00 {
- status = "okay";
- };
- spi@b00 {
- status = "okay";
- m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "mx25l6405d";
- 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 0x10000>;
- read-only;
- };
- factory: partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- read-only;
- };
- devdata: partition@50000 {
- reg = <0x50000 0x20000>;
- label = "devdata";
- read-only;
- };
- partition@70000 {
- reg = <0x70000 0x790000>;
- label = "firmware";
- };
- partition@270000 {
- reg = <0x270000 0x590000>;
- label = "rootfs";
- };
- };
- };
- };
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
- };
- };
- };
- ethernet@10100000 {
- status = "okay";
- mtd-mac-address = <&devdata 0x0d>;
- port@0 {
- ralink,fixed-link = <1000 1 1 1>;
- };
- };
- 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";
- };
- rtl8367b {
- compatible = "realtek,rtl8367b";
- gpio-sda = <&gpio0 1 0>;
- gpio-sck = <&gpio0 2 0>;
- realtek,extif1 = <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 = "al3000dg-v2:blue:power";
- gpios = <&gpio0 10 1>;
- };
- wlan2g {
- label = "al3000dg-v2:blue:wlan2g";
- gpios = <&gpio0 11 1>;
- };
- wlan5g {
- label = "al3000dg-v2:blue:wlan5g";
- gpios = <&gpio0 14 1>;
- };
- };
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
- /* JTAG */
- gpio17 {
- /* JTAG_TDO */
- gpio-export,name = "gpio17";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio0 17 0>;
- };
- gpio18 {
- /* JTAG_TDI */
- gpio-export,name = "gpio18";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio0 18 0>;
- };
- gpio19 {
- /* JTAG_TMS */
- gpio-export,name = "gpio19";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio0 19 0>;
- };
- gpio20 {
- /* JTAG_TCLK */
- gpio-export,name = "gpio20";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio0 20 0>;
- };
- gpio21 {
- /* JTAG_TRST_N */
- gpio-export,name = "gpio21";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio0 21 0>;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement