mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
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. ...
226 lines
4.7 KiB
Plaintext
226 lines
4.7 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "kirkwood.dtsi"
|
|
#include "kirkwood-6282.dtsi"
|
|
|
|
/ {
|
|
model = "NETGEAR ReadyNAS Duo v2";
|
|
compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,kirkwood";
|
|
|
|
memory { /* 256 MB */
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
mbus {
|
|
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
pcie-controller {
|
|
status = "okay";
|
|
|
|
pcie@1,0 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
pinctrl: pinctrl@10000 {
|
|
pmx_button_power: pmx-button-power {
|
|
marvell,pins = "mpp47";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_button_backup: pmx-button-backup {
|
|
marvell,pins = "mpp45";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_button_reset: pmx-button-reset {
|
|
marvell,pins = "mpp13";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_led_blue_power: pmx-led-blue-power {
|
|
marvell,pins = "mpp31";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_led_blue_activity: pmx-led-blue-activity {
|
|
marvell,pins = "mpp38";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_led_blue_disk1: pmx-led-blue-disk1 {
|
|
marvell,pins = "mpp23";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_led_blue_disk2: pmx-led-blue-disk2 {
|
|
marvell,pins = "mpp22";
|
|
marvell,function = "gpio";
|
|
};
|
|
pmx_led_blue_backup: pmx-led-blue-backup {
|
|
marvell,pins = "mpp29";
|
|
marvell,function = "gpio";
|
|
};
|
|
};
|
|
|
|
clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
g762_clk: fixedclk {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <8192>;
|
|
};
|
|
};
|
|
|
|
i2c@11000 {
|
|
status = "okay";
|
|
|
|
rs5c372a: rs5c372a@32 {
|
|
compatible = "ricoh,rs5c372a";
|
|
reg = <0x32>;
|
|
};
|
|
|
|
g762: g762@3e {
|
|
compatible = "gmt,g762";
|
|
reg = <0x3e>;
|
|
clocks = <&g762_clk>; /* input clock */
|
|
fan_gear_mode = <0>;
|
|
fan_startv = <1>;
|
|
pwm_polarity = <0>;
|
|
};
|
|
};
|
|
|
|
serial@12000 {
|
|
pinctrl-0 = <&pmx_uart0>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
|
|
nand@3000000 {
|
|
status = "okay";
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0x0000000 0x180000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@180000 {
|
|
label = "u-boot-env";
|
|
reg = <0x180000 0x20000>;
|
|
};
|
|
|
|
partition@200000 {
|
|
label = "uImage";
|
|
reg = <0x0200000 0x600000>;
|
|
};
|
|
|
|
partition@800000 {
|
|
label = "minirootfs";
|
|
reg = <0x0800000 0x1000000>;
|
|
};
|
|
|
|
partition@1800000 {
|
|
label = "jffs2";
|
|
reg = <0x1800000 0x6800000>;
|
|
};
|
|
};
|
|
|
|
sata@80000 {
|
|
status = "okay";
|
|
nr-ports = <2>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = < &pmx_led_blue_power &pmx_led_blue_activity
|
|
&pmx_led_blue_disk1 &pmx_led_blue_disk2
|
|
&pmx_led_blue_backup >;
|
|
pinctrl-names = "default";
|
|
|
|
power_led {
|
|
label = "status:blue:power_led";
|
|
gpios = <&gpio0 31 1>; /* GPIO 31 Active Low */
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
activity_led {
|
|
label = "status:blue:activity_led";
|
|
gpios = <&gpio1 6 1>; /* GPIO 38 Active Low */
|
|
};
|
|
disk1_led {
|
|
label = "status:blue:disk1_led";
|
|
gpios = <&gpio0 23 1>; /* GPIO 23 Active Low */
|
|
};
|
|
disk2_led {
|
|
label = "status:blue:disk2_led";
|
|
gpios = <&gpio0 22 1>; /* GPIO 22 Active Low */
|
|
};
|
|
backup_led {
|
|
label = "status:blue:backup_led";
|
|
gpios = <&gpio0 29 1>; /* GPIO 29 Active Low*/
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
pinctrl-0 = <&pmx_button_power &pmx_button_backup
|
|
&pmx_button_reset>;
|
|
pinctrl-names = "default";
|
|
|
|
button@1 {
|
|
label = "Power Button";
|
|
linux,code = <116>; /* KEY_POWER */
|
|
gpios = <&gpio1 15 1>;
|
|
};
|
|
button@2 {
|
|
label = "Reset Button";
|
|
linux,code = <0x198>; /* KEY_RESTART */
|
|
gpios = <&gpio0 13 1>;
|
|
};
|
|
button@3 {
|
|
label = "Backup Button";
|
|
linux,code = <133>; /* KEY_COPY */
|
|
gpios = <&gpio1 13 1>;
|
|
};
|
|
};
|
|
|
|
regulators {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
usb_power: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
reg = <1>;
|
|
regulator-name = "USB 3.0 Power";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
gpio = <&gpio1 14 0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphy0: ethernet-phy@0 {
|
|
device_type = "ethernet-phy";
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
ethernet0-port@0 {
|
|
phy-handle = <ðphy0>;
|
|
};
|
|
};
|