mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 22:21:59 +07:00
a77eb442f9
- use tags from included dtsi instead of duplicating the hierarchy There are no differences in the generated .dtb Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Link: https://lore.kernel.org/r/20190812212757.23432-5-uwe@kleine-koenig.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
172 lines
2.7 KiB
Plaintext
172 lines
2.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
|
|
*
|
|
* Copyright (C) 2014 Gaël PORTAY <g.portay@overkiz.com>
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91sam9g25.dtsi"
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
|
|
/ {
|
|
model = "Overkiz Kizbox mini";
|
|
compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
chosen {
|
|
bootargs = "ubi.mtd=ubi";
|
|
stdout-path = &dbgu;
|
|
};
|
|
|
|
memory {
|
|
reg = <0x20000000 0x8000000>;
|
|
};
|
|
|
|
clocks {
|
|
slow_xtal {
|
|
clock-frequency = <32768>;
|
|
};
|
|
|
|
main_xtal {
|
|
clock-frequency = <12000000>;
|
|
};
|
|
};
|
|
|
|
ahb {
|
|
nand0: nand@40000000 {
|
|
nand-bus-width = <8>;
|
|
nand-ecc-mode = "hw";
|
|
atmel,has-pmecc;
|
|
atmel,pmecc-cap = <4>;
|
|
atmel,pmecc-sector-size = <512>;
|
|
nand-on-flash-bbt;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
prog {
|
|
label = "PB_PROG";
|
|
gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
|
|
linux,code = <0x102>;
|
|
wakeup-source;
|
|
};
|
|
|
|
reset {
|
|
label = "PB_RST";
|
|
gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
|
|
linux,code = <0x100>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
|
|
pwm_leds {
|
|
compatible = "pwm-leds";
|
|
|
|
green {
|
|
label = "pwm:green:user";
|
|
pwms = <&pwm0 0 10000000 0>;
|
|
max-brightness = <255>;
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
|
|
red {
|
|
label = "pwm:red:user";
|
|
pwms = <&pwm0 1 10000000 0>;
|
|
max-brightness = <255>;
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
};
|
|
};
|
|
|
|
&dbgu {
|
|
status = "okay";
|
|
};
|
|
|
|
&ebi {
|
|
pinctrl-0 = <&pinctrl_ebi_addr_nand
|
|
&pinctrl_ebi_data_0_7>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
|
|
nand-controller {
|
|
pinctrl-0 = <&pinctrl_nand_oe_we
|
|
&pinctrl_nand_cs
|
|
&pinctrl_nand_rb>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
|
|
nand@3 {
|
|
reg = <0x3 0x0 0x800000>;
|
|
rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
|
|
cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
|
|
nand-bus-width = <8>;
|
|
nand-ecc-mode = "hw";
|
|
nand-ecc-strength = <4>;
|
|
nand-ecc-step-size = <512>;
|
|
nand-on-flash-bbt;
|
|
label = "atmel_nand";
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
bootstrap@0 {
|
|
label = "bootstrap";
|
|
reg = <0x0 0x20000>;
|
|
};
|
|
|
|
ubi@20000 {
|
|
label = "ubi";
|
|
reg = <0x20000 0x7fe0000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&macb0 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
|
|
&pwm0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_pwm0_pwm0_1
|
|
&pinctrl_pwm0_pwm1_1>;
|
|
status = "okay";
|
|
};
|
|
|
|
&tcb0 {
|
|
timer@0 {
|
|
compatible = "atmel,tcb-timer";
|
|
reg = <0>;
|
|
};
|
|
|
|
timer@1 {
|
|
compatible = "atmel,tcb-timer";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
&usart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
num-ports = <1>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&watchdog {
|
|
status = "okay";
|
|
};
|