Created
April 5, 2015 16:22
-
-
Save rhaamo/92b71413caead9111436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@kalipette:~/dev/arm-soc_branch-for-next/arch/arm/boot/dts# /root/dev/arm-soc_branch-for-next/scripts/dtc/dtc -i /root/dev/arm-soc_branch-for-next/arch/arm/boot/dts/ -I dts -O dtb kirkwood-powerbay.dts | |
Error: kirkwood-powerbay.dts:3.1-9 syntax error | |
FATAL ERROR: Unable to parse input tree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
#include "kirkwood.dtsi" | |
#include "kirkwood-6281.dtsi" | |
/ { | |
model = "Verbatim PowerBay"; | |
compatible = "marvell,kirkwood-88f6281", "marvell,kirkwood"; | |
memory { | |
device_type = "memory"; | |
reg = <0x00000000 0x20000000>; | |
}; | |
chosen { | |
bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
}; | |
gpio_keys { | |
compatible = "gpio-keys"; | |
#address-cells = <1>; | |
#size-cells = <0>; | |
pinctrl-names = "default"; | |
button@1 { | |
label = "Power button"; | |
linux,code = <116>; | |
gpios = <&gpio1 2 1>; | |
}; | |
button@2 { | |
label = "USB unmount button"; | |
linux,code = <161>; | |
gpios = <&gpio1 15 1>; | |
}; | |
button@3 { | |
label = "Reset button"; | |
linux,code = <0x198>; | |
gpios = <&gpio1 16 1>; | |
}; | |
}; | |
ocp@f1000000 { | |
pinctrl: pinctrl@10000 { | |
pinctrl-names = "default"; | |
pmx_power_back_on: pmx-power-back-on { | |
marvell,pins = "mpp37"; | |
marvell,function = "gpio"; | |
}; | |
pmx_power_sata0: pmx-power-sata0 { | |
marvell,pins = "mpp39"; | |
marvell,function = "gpio"; | |
}; | |
pmx_power_sata1: pmx-power-sata1 { | |
marvell,pins = "mpp40"; | |
marvell,function = "gpio"; | |
}; | |
pmx_power_sata2: pmx-power-sata2 { | |
marvell,pins = "mpp41"; | |
marvell,function = "gpio"; | |
}; | |
pmx_power_sata3: pmx-power-sata3 { | |
marvell,pins = "mpp42"; | |
marvell,function = "gpio"; | |
}; | |
pmx_fan_tacho: pmx-fan-tacho { | |
marvell,pins = "mpp44"; | |
marvell,function = "gpio"; | |
}; | |
pmx_fan_high_speed: pmx-fan-high-speed { | |
marvell,pins = "mpp45"; | |
marvell,function = "gpio"; | |
}; | |
pmx_fan_low_speed: pmx-fan-low-speed { | |
marvell,pins = "mpp46"; | |
marvell,function = "gpio"; | |
}; | |
}; | |
/* | |
sata@80000 { | |
pinctrl-names = "default"; | |
status = "okay"; | |
nr-ports = <4>; | |
}; | |
*/ | |
serial@12000 { | |
clock-frequency = <200000000>; | |
status = "ok"; | |
}; | |
nand@3000000 { | |
status = "okay"; | |
}; | |
i2c@11000 { | |
pinctrl-0 = <&pmx_twsi0>; | |
pinctrl-names = "default"; | |
status = "okay"; | |
lm75: lm75@49 { | |
compatible = "national,lm75"; | |
reg = <0x49>; | |
}; | |
rtc: rtc@64 { | |
compatible = "stm,m41t80"; | |
reg = <0x64>; | |
}; | |
}; | |
}; | |
/* Fan: SUNON KD 1208PTB3 80mm 12V 1.0W ???rpm */ | |
gpio_fan { | |
compatible = "gpio-fan"; | |
pinctrl-0 = <&pmx_fan_high_speed &pmx_fan_low_speed>; | |
pinctrl-names = "default"; | |
gpios = <&gpio1 14 1 | |
&gpio1 13 1>; | |
gpio-fan,speed-map = <0 0 | |
3000 1 | |
6000 2>; | |
}; | |
mbus { | |
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>; | |
pcie-controller { | |
status = "okay"; | |
pcie@1,0 { | |
status = "okay"; | |
}; | |
}; | |
}; | |
}; | |
&mdio { | |
status = "okay"; | |
ethphy0: ethernet-phy@8 { | |
device_type = "ethernet-phy"; | |
compatible = "marvell,88e1116r"; | |
reg = <8>; | |
}; | |
}; | |
ð0 { // Labeled as "EXT" | |
status = "okay"; | |
ethernet0-port@0 { | |
phy-handle = <ðphy0>; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment