Home | History | Annotate | Download | only in dts
      1 // SPDX-License-Identifier: GPL-2.0
      2 /dts-v1/;
      3 
      4 #include "kirkwood.dtsi"
      5 #include "kirkwood-6281.dtsi"
      6 
      7 / {
      8 	model = "Iomega Iconnect";
      9 	compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
     10 
     11 	memory {
     12 		device_type = "memory";
     13 		reg = <0x00000000 0x10000000>;
     14 	};
     15 
     16 	chosen {
     17 		bootargs = "console=ttyS0,115200n8 earlyprintk";
     18 		stdout-path = &uart0;
     19 		linux,initrd-start = <0x4500040>;
     20 		linux,initrd-end   = <0x4800000>;
     21 	};
     22 
     23 	ocp@f1000000 {
     24 		pinctrl: pin-controller@10000 {
     25 			pmx_button_reset: pmx-button-reset {
     26 				marvell,pins = "mpp12";
     27 				marvell,function = "gpio";
     28 			};
     29 			pmx_button_otb: pmx-button-otb {
     30 				marvell,pins = "mpp35";
     31 				marvell,function = "gpio";
     32 			};
     33 			pmx_led_level: pmx-led-level {
     34 				marvell,pins = "mpp41";
     35 				marvell,function = "gpio";
     36 			};
     37 			pmx_led_power_blue: pmx-led-power-blue {
     38 				marvell,pins = "mpp42";
     39 				marvell,function = "gpio";
     40 			};
     41 			pmx_led_power_red: pmx-power-red {
     42 				marvell,pins = "mpp43";
     43 				marvell,function = "gpio";
     44 			};
     45 			pmx_led_usb1: pmx-led-usb1 {
     46 				marvell,pins = "mpp44";
     47 				marvell,function = "gpio";
     48 			};
     49 			pmx_led_usb2: pmx-led-usb2 {
     50 				marvell,pins = "mpp45";
     51 				marvell,function = "gpio";
     52 			};
     53 			pmx_led_usb3: pmx-led-usb3 {
     54 				marvell,pins = "mpp46";
     55 				marvell,function = "gpio";
     56 			};
     57 			pmx_led_usb4: pmx-led-usb4 {
     58 				marvell,pins = "mpp47";
     59 				marvell,function = "gpio";
     60 			};
     61 			pmx_led_otb: pmx-led-otb {
     62 				marvell,pins = "mpp48";
     63 				marvell,function = "gpio";
     64 			};
     65 		};
     66 		i2c@11000 {
     67 			status = "okay";
     68 
     69 			lm63: lm63@4c {
     70 				compatible = "national,lm63";
     71 				reg = <0x4c>;
     72 			};
     73 		};
     74 		serial@12000 {
     75 			status = "ok";
     76 		};
     77 	};
     78 
     79 	gpio-leds {
     80 		compatible = "gpio-leds";
     81 		pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
     82 			      &pmx_led_power_red &pmx_led_usb1
     83 			      &pmx_led_usb2 &pmx_led_usb3
     84 			      &pmx_led_usb4 &pmx_led_otb >;
     85 		pinctrl-names = "default";
     86 
     87 		led-level {
     88 			label = "led_level";
     89 			gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
     90 			default-state = "on";
     91 		};
     92 		power-blue {
     93 			label = "power:blue";
     94 			gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
     95 			default-state = "keep";
     96 		};
     97 		power-red {
     98 			label = "power:red";
     99 			gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
    100 		};
    101 		usb1 {
    102 			label = "usb1:blue";
    103 			gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
    104 		};
    105 		usb2 {
    106 			label = "usb2:blue";
    107 			gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
    108 		};
    109 		usb3 {
    110 			label = "usb3:blue";
    111 			gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
    112 		};
    113 		usb4 {
    114 			label = "usb4:blue";
    115 			gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
    116 		};
    117 		otb {
    118 			label = "otb:blue";
    119 			gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
    120 		};
    121 	};
    122 
    123 	gpio_keys {
    124 		compatible = "gpio-keys";
    125 		#address-cells = <1>;
    126 		#size-cells = <0>;
    127 		pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
    128 		pinctrl-names = "default";
    129 
    130 		otb {
    131 			label = "OTB Button";
    132 			linux,code = <KEY_COPY>;
    133 			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
    134 			debounce-interval = <100>;
    135 		};
    136 		reset {
    137 			label = "Reset";
    138 			linux,code = <KEY_RESTART>;
    139 			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
    140 			debounce-interval = <100>;
    141 		};
    142 	};
    143 };
    144 
    145 &nand {
    146 	status = "okay";
    147 
    148 	partition@0 {
    149 		label = "uboot";
    150 		reg = <0x0000000 0xc0000>;
    151 	};
    152 
    153 	partition@a0000 {
    154 		label = "env";
    155 		reg = <0xa0000 0x20000>;
    156 	};
    157 
    158 	partition@100000 {
    159 		label = "zImage";
    160 		reg = <0x100000 0x300000>;
    161 	};
    162 
    163 	partition@540000 {
    164 		label = "initrd";
    165 		reg = <0x540000 0x300000>;
    166 	};
    167 
    168 	partition@980000 {
    169 		label = "boot";
    170 		reg = <0x980000 0x1f400000>;
    171 	};
    172 };
    173 
    174 &mdio {
    175 	status = "okay";
    176 
    177 	ethphy0: ethernet-phy@11 {
    178 		reg = <11>;
    179 	};
    180 };
    181 
    182 &eth0 {
    183 	status = "okay";
    184 	ethernet0-port@0 {
    185 		phy-handle = <&ethphy0>;
    186 	};
    187 };
    188 
    189 &pciec {
    190         status = "okay";
    191 };
    192 
    193 &pcie0 {
    194 	status = "okay";
    195 };
    196