forked from Minki/linux
44598f98b9
Board updates for 3.12. Again, a bit of domain overlap with SoC and DT branches, but most of this is around legacy code and board support. We've found that platform maintainers have a hard time separating all of these out and might move towards fewer branches for next release. - Removal of a number of Marvell Kirkwood board files, since contents is now common and mostly configured via DT. - Device-tree updates for Marvell Dove, including irqchip and clocksource setup. - Defconfig updates. Gotta go somewhere. One new one for Renesas Lager. - New backlight drivers for backlights used on Renesas shmobile platforms. - Removal of Renesas leds driver. - Shuffling of some of the new Broadcom platforms to give room for others in the same mach directory. More in 2.13. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJSKhrfAAoJEIwa5zzehBx3OOAQAJCWhoYaHvWmyAf+xCOQNpX2 YgAngENW04VpHFOyn6BtoGv6+5JypdB2TmK3GHHlVJd1Im5mD1wgm8hAfgyV8lQ4 UeJULdA2HZAstKeTirO65BIyUb5QIrWakF24ccfIfg2xeScM8FV0m8cmzeo3fYAf DmmeoSCmvTdu/cDWBNlsQZ/as8qCQwyF+5kZg+SMl1btA1Publu2I5lDE02TH46d sc5mN+ihw0JG62EJV7pov6uVyeFLExoTbrNfQZ4rixmKkMDS/jq5ZbBS5c0i8ULF s1UMSZtYTcUO9rAPv3+MOIc7fq7nKo9lLuwMrA1HHUEDJ2BEi8DIp99F+ZYm/MSL WpVxYNwOobPcMJBYGR2fy4GgpIyWB285GgrBUxcq7t0Xi4uBbptwjLhDE4d7LREV 8guW251R+OEVPYcwFctsubnox0MViyC3CQ1FaAAdtTjpSKomlhk/yaxaQ9nGrxls QCZgXHWm4Ir3QYv8XfOn0X9vdP81EnX11SiwtrRSJ71QMs814nB8NdPDqU4VHsw8 exKmqjq/Lt+F9Kpxn/FevNNuYOdefZNQi00yl3ERchdIGdvRwE/0yA0D69mpwIVr E41UwvH3g43vazCo2PMdWPWuFlpGMR3iZ4pXnDLH/w33ppfJWfokYwKSRQ/mu/MN LMjkwoZn1X+fZzNSh9/G =EGua -----END PGP SIGNATURE----- Merge tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC board updates from Olof Johansson: "Board updates for 3.12. Again, a bit of domain overlap with SoC and DT branches, but most of this is around legacy code and board support. We've found that platform maintainers have a hard time separating all of these out and might move towards fewer branches for next release. - Removal of a number of Marvell Kirkwood board files, since contents is now common and mostly configured via DT. - Device-tree updates for Marvell Dove, including irqchip and clocksource setup. - Defconfig updates. Gotta go somewhere. One new one for Renesas Lager. - New backlight drivers for backlights used on Renesas shmobile platforms. - Removal of Renesas leds driver. - Shuffling of some of the new Broadcom platforms to give room for others in the same mach directory. More in 3.13" * tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits) mmc: sdhci-bcm-kona: Staticize sdhci_bcm_kona_card_event mmc: sdhci-bcm-kona: Remove unneeded version.h inclusion ARM: bcm: Make secure API call optional ARM: DT: binding fixup to align with vendor-prefixes.txt (drivers) ARM: mmc: fix NONREMOVABLE test in sdhci-bcm-kona ARM: bcm: Rename board_bcm mmc: sdhci-bcm-kona: make linker-section warning go away ARM: tegra: defconfig updates ARM: dove: add initial DT file for Globalscale D2Plug ARM: dove: add GPIO IR receiver node to SolidRun CuBox ARM: dove: add common pinmux functions to DT ARM: dove: add cpu device tree node ARM: dove: update dove_defconfig with SI5351, PCI, and xHCI arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument ARM: kirkwood: fix DT building and update defconfig ARM: kirkwood: Remove all remaining trace of DNS-320/325 platform code ARM: configs: disable DEBUG_LL in bcm_defconfig ARM: bcm281xx: Board specific reboot code ARM bcm281xx: Turn on socket & network support. ARM: bcm281xx: Turn on L2 cache. ...
222 lines
4.1 KiB
Plaintext
222 lines
4.1 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "kirkwood.dtsi"
|
|
#include "kirkwood-6282.dtsi"
|
|
|
|
/ {
|
|
model = "Univeral Scientific Industrial Co. Topkick-1281P2";
|
|
compatible = "usi,topkick-1281P2", "usi,topkick", "marvell,kirkwood-88f6282", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
pinctrl: pinctrl@10000 {
|
|
/*
|
|
* Switch positions
|
|
*
|
|
* /-SW_LEFT(2)
|
|
* |
|
|
* | /-SW_IDLE
|
|
* | |
|
|
* | | /-SW_RIGHT
|
|
* | | |
|
|
* PS [L] [I] [R] LEDS
|
|
*/
|
|
pinctrl-0 = <&pmx_sw_left &pmx_sw_right
|
|
&pmx_sw_idle &pmx_sw_left2>;
|
|
pinctrl-names = "default";
|
|
|
|
pmx_led_disk_yellow: pmx-led-disk-yellow {
|
|
marvell,pins = "mpp21";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_sata0_pwr_enable: pmx-sata0-pwr-enable {
|
|
marvell,pins = "mpp36";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_led_sys_red: pmx-led-sys-red {
|
|
marvell,pins = "mpp37";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_led_sys_blue: pmx-led-sys-blue {
|
|
marvell,pins = "mpp38";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_led_wifi_green: pmx-led-wifi-green {
|
|
marvell,pins = "mpp39";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_sw_left: pmx-sw-left {
|
|
marvell,pins = "mpp43";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_sw_right: pmx-sw-right {
|
|
marvell,pins = "mpp44";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_sw_idle: pmx-sw-idle {
|
|
marvell,pins = "mpp45";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_sw_left2: pmx-sw-left2 {
|
|
marvell,pins = "mpp46";
|
|
marvell,function = "gpio";
|
|
};
|
|
|
|
pmx_led_wifi_yellow: pmx-led-wifi-yellow {
|
|
marvell,pins = "mpp48";
|
|
marvell,function = "gpio";
|
|
};
|
|
};
|
|
|
|
serial@12000 {
|
|
status = "ok";
|
|
pinctrl-0 = <&pmx_uart0>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
nand@3000000 {
|
|
status = "okay";
|
|
pinctrl-0 = <&pmx_nand>;
|
|
pinctrl-names = "default";
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0x0000000 0x180000>;
|
|
};
|
|
|
|
partition@180000 {
|
|
label = "u-boot env";
|
|
reg = <0x0180000 0x20000>;
|
|
};
|
|
|
|
partition@200000 {
|
|
label = "uImage";
|
|
reg = <0x0200000 0x600000>;
|
|
};
|
|
|
|
partition@800000 {
|
|
label = "uInitrd";
|
|
reg = <0x0800000 0x1000000>;
|
|
};
|
|
|
|
partition@1800000 {
|
|
label = "rootfs";
|
|
reg = <0x1800000 0xe800000>;
|
|
};
|
|
};
|
|
|
|
sata@80000 {
|
|
status = "okay";
|
|
nr-ports = <1>;
|
|
};
|
|
|
|
i2c@11000 {
|
|
status = "ok";
|
|
pinctrl-0 = <&pmx_twsi0>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
mvsdio@90000 {
|
|
pinctrl-0 = <&pmx_sdio>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
/* No CD or WP GPIOs */
|
|
broken-cd;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
/*
|
|
* GPIO LED layout
|
|
*
|
|
* /-SYS_LED(2)
|
|
* |
|
|
* | /-DISK_LED
|
|
* | |
|
|
* | | /-WLAN_LED(2)
|
|
* | | |
|
|
* [SW] [*] [*] [*]
|
|
*/
|
|
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_led_disk_yellow &pmx_led_sys_red
|
|
&pmx_led_sys_blue &pmx_led_wifi_green
|
|
&pmx_led_wifi_yellow>;
|
|
pinctrl-names = "default";
|
|
|
|
disk {
|
|
label = "topkick:yellow:disk";
|
|
gpios = <&gpio0 21 1>;
|
|
linux,default-trigger = "ide-disk";
|
|
};
|
|
system2 {
|
|
label = "topkick:red:system";
|
|
gpios = <&gpio1 5 1>;
|
|
};
|
|
system {
|
|
label = "topkick:blue:system";
|
|
gpios = <&gpio1 6 1>;
|
|
default-state = "on";
|
|
};
|
|
wifi {
|
|
label = "topkick:green:wifi";
|
|
gpios = <&gpio1 7 1>;
|
|
};
|
|
wifi2 {
|
|
label = "topkick:yellow:wifi";
|
|
gpios = <&gpio1 16 1>;
|
|
};
|
|
};
|
|
regulators {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
pinctrl-0 = <&pmx_sata0_pwr_enable>;
|
|
pinctrl-names = "default";
|
|
|
|
sata0_power: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
reg = <1>;
|
|
regulator-name = "SATA0 Power";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
gpio = <&gpio1 4 0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphy0: ethernet-phy@0 {
|
|
device_type = "ethernet-phy";
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
ethernet0-port@0 {
|
|
phy-handle = <ðphy0>;
|
|
};
|
|
};
|