1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 2 /dts-v1/; 3 3 4 #include "kirkwood.dtsi" 4 #include "kirkwood.dtsi" 5 #include "kirkwood-6281.dtsi" 5 #include "kirkwood-6281.dtsi" 6 6 7 / { 7 / { 8 model = "MPL CEC4"; 8 model = "MPL CEC4"; 9 compatible = "mpl,cec4-10", "mpl,cec4" 9 compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10 10 11 memory { 11 memory { 12 device_type = "memory"; 12 device_type = "memory"; 13 reg = <0x00000000 0x20000000>; 13 reg = <0x00000000 0x20000000>; 14 }; 14 }; 15 15 16 chosen { 16 chosen { 17 bootargs = "console=ttyS0,1152 17 bootargs = "console=ttyS0,115200n8 earlyprintk"; 18 stdout-path = &uart0; 18 stdout-path = &uart0; 19 }; 19 }; 20 20 21 ocp@f1000000 { 21 ocp@f1000000 { 22 pinctrl: pin-controller@10000 22 pinctrl: pin-controller@10000 { 23 pmx_led_health: pmx-le 23 pmx_led_health: pmx-led-health { 24 marvell,pins = 24 marvell,pins = "mpp7"; 25 marvell,functi 25 marvell,function = "gpo"; 26 }; 26 }; 27 27 28 pmx_sata1: pmx-sata1 { 28 pmx_sata1: pmx-sata1 { 29 marvell,pins = 29 marvell,pins = "mpp34"; 30 marvell,functi 30 marvell,function = "sata1"; 31 }; 31 }; 32 32 33 pmx_sata0: pmx-sata0 { 33 pmx_sata0: pmx-sata0 { 34 marvell,pins = 34 marvell,pins = "mpp35"; 35 marvell,functi 35 marvell,function = "sata0"; 36 }; 36 }; 37 37 38 pmx_led_user1o: pmx-le 38 pmx_led_user1o: pmx-led-user1o { 39 marvell,pins = 39 marvell,pins = "mpp40"; 40 marvell,functi 40 marvell,function = "gpio"; 41 }; 41 }; 42 42 43 pmx_led_user1g: pmx-le 43 pmx_led_user1g: pmx-led-user1g { 44 marvell,pins = 44 marvell,pins = "mpp41"; 45 marvell,functi 45 marvell,function = "gpio"; 46 }; 46 }; 47 47 48 pmx_led_user0o: pmx-le 48 pmx_led_user0o: pmx-led-user0o { 49 marvell,pins = 49 marvell,pins = "mpp44"; 50 marvell,functi 50 marvell,function = "gpio"; 51 }; 51 }; 52 52 53 pmx_led_user0g: pmx-le 53 pmx_led_user0g: pmx-led-user0g { 54 marvell,pins = 54 marvell,pins = "mpp45"; 55 marvell,functi 55 marvell,function = "gpio"; 56 }; 56 }; 57 57 58 pmx_led_misc: pmx-led- 58 pmx_led_misc: pmx-led-misc { 59 marvell,pins = 59 marvell,pins = "mpp46"; 60 marvell,functi 60 marvell,function = "gpio"; 61 }; 61 }; 62 62 63 pmx_sdio_cd: pmx-sdio- 63 pmx_sdio_cd: pmx-sdio-cd { 64 marvell,pins = 64 marvell,pins = "mpp47"; 65 marvell,functi 65 marvell,function = "gpio"; 66 }; 66 }; 67 }; 67 }; 68 68 69 i2c@11000 { 69 i2c@11000 { 70 status = "okay"; 70 status = "okay"; 71 71 72 rtc@51 { 72 rtc@51 { 73 compatible = " 73 compatible = "nxp,pcf8563"; 74 reg = <0x51>; 74 reg = <0x51>; 75 }; 75 }; 76 76 77 eeprom@57 { 77 eeprom@57 { 78 compatible = " 78 compatible = "atmel,24c02"; 79 reg = <0x57>; 79 reg = <0x57>; 80 }; 80 }; 81 81 82 }; 82 }; 83 83 84 serial@12000 { 84 serial@12000 { 85 status = "okay"; 85 status = "okay"; 86 }; 86 }; 87 87 88 rtc@10300 { 88 rtc@10300 { 89 status = "disabled"; 89 status = "disabled"; 90 }; 90 }; 91 91 92 sata@80000 { 92 sata@80000 { 93 pinctrl-0 = <&pmx_sata 93 pinctrl-0 = <&pmx_sata0 &pmx_sata1>; 94 pinctrl-names = "defau 94 pinctrl-names = "default"; 95 nr-ports = <2>; 95 nr-ports = <2>; 96 status = "okay"; 96 status = "okay"; 97 }; 97 }; 98 98 99 mvsdio@90000 { 99 mvsdio@90000 { 100 pinctrl-0 = <&pmx_sdio 100 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; 101 pinctrl-names = "defau 101 pinctrl-names = "default"; 102 status = "okay"; 102 status = "okay"; 103 cd-gpios = <&gpio1 15 103 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 104 /* No WP GPIO */ 104 /* No WP GPIO */ 105 }; 105 }; 106 }; 106 }; 107 107 108 gpio-leds { 108 gpio-leds { 109 compatible = "gpio-leds"; 109 compatible = "gpio-leds"; 110 pinctrl-0 = < &pmx_led_health 110 pinctrl-0 = < &pmx_led_health 111 &pmx_led_user1o 111 &pmx_led_user1o 112 &pmx_led_user1g 112 &pmx_led_user1g &pmx_led_user0o 113 &pmx_led_user0g 113 &pmx_led_user0g &pmx_led_misc 114 >; 114 >; 115 pinctrl-names = "default"; 115 pinctrl-names = "default"; 116 116 117 led-health { !! 117 health { 118 label = "status:green: 118 label = "status:green:health"; 119 gpios = <&gpio0 7 GPIO 119 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 120 }; 120 }; 121 121 122 led-user1o { !! 122 user1o { 123 label = "user1:orange" 123 label = "user1:orange"; 124 gpios = <&gpio1 8 GPIO 124 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 125 default-state = "on"; 125 default-state = "on"; 126 }; 126 }; 127 127 128 led-user1g { !! 128 user1g { 129 label = "user1:green"; 129 label = "user1:green"; 130 gpios = <&gpio1 9 GPIO 130 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 131 default-state = "on"; 131 default-state = "on"; 132 }; 132 }; 133 133 134 led-user0o { !! 134 user0o { 135 label = "user0:orange" 135 label = "user0:orange"; 136 gpios = <&gpio1 12 GPI 136 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 137 default-state = "on"; 137 default-state = "on"; 138 }; 138 }; 139 139 140 led-user0g { !! 140 user0g { 141 label = "user0:green"; 141 label = "user0:green"; 142 gpios = <&gpio1 13 GPI 142 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 143 default-state = "on"; 143 default-state = "on"; 144 }; 144 }; 145 145 146 led-misc { !! 146 misc { 147 label = "status:orange 147 label = "status:orange:misc"; 148 gpios = <&gpio1 14 GPI 148 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 149 default-state = "on"; 149 default-state = "on"; 150 }; 150 }; 151 151 152 }; 152 }; 153 }; 153 }; 154 154 155 &nand { 155 &nand { 156 status = "okay"; 156 status = "okay"; 157 157 158 partition@0 { 158 partition@0 { 159 label = "uboot"; 159 label = "uboot"; 160 reg = <0x0000000 0x100000>; 160 reg = <0x0000000 0x100000>; 161 }; 161 }; 162 162 163 partition@100000 { 163 partition@100000 { 164 label = "env"; 164 label = "env"; 165 reg = <0x100000 0x80000>; 165 reg = <0x100000 0x80000>; 166 }; 166 }; 167 167 168 partition@180000 { 168 partition@180000 { 169 label = "fdt"; 169 label = "fdt"; 170 reg = <0x180000 0x80000>; 170 reg = <0x180000 0x80000>; 171 }; 171 }; 172 172 173 partition@200000 { 173 partition@200000 { 174 label = "kernel"; 174 label = "kernel"; 175 reg = <0x200000 0x400000>; 175 reg = <0x200000 0x400000>; 176 }; 176 }; 177 177 178 partition@600000 { 178 partition@600000 { 179 label = "rootfs"; 179 label = "rootfs"; 180 reg = <0x600000 0x1fa00000>; 180 reg = <0x600000 0x1fa00000>; 181 }; 181 }; 182 }; 182 }; 183 183 184 &mdio { 184 &mdio { 185 status = "okay"; 185 status = "okay"; 186 186 187 ethphy0: ethernet-phy@1 { 187 ethphy0: ethernet-phy@1 { 188 reg = <1>; 188 reg = <1>; 189 }; 189 }; 190 190 191 ethphy1: ethernet-phy@2 { 191 ethphy1: ethernet-phy@2 { 192 reg = <2>; 192 reg = <2>; 193 }; 193 }; 194 }; 194 }; 195 195 196 ð0 { 196 ð0 { 197 status = "okay"; 197 status = "okay"; 198 ethernet0-port@0 { 198 ethernet0-port@0 { 199 phy-handle = <ðphy0>; 199 phy-handle = <ðphy0>; 200 }; 200 }; 201 }; 201 }; 202 202 203 ð1 { 203 ð1 { 204 status = "okay"; 204 status = "okay"; 205 ethernet1-port@0 { 205 ethernet1-port@0 { 206 phy-handle = <ðphy1>; 206 phy-handle = <ðphy1>; 207 }; 207 }; 208 }; 208 }; 209 209 210 &pciec { 210 &pciec { 211 status = "okay"; 211 status = "okay"; 212 }; 212 }; 213 213 214 &pcie0 { 214 &pcie0 { 215 status = "okay"; 215 status = "okay"; 216 }; 216 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.