mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 16:56:45 +07:00
ff753f43da
- Move clock registration to the device tree - Support probing the MTU timer from the device tree - Register user LED and user key in the device tree - Update defconfig to account for user LED and user key - Move pin control mappings to the device tree -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAABAgAGBQJRonB1AAoJEEEQszewGV1zKxIQAJApxkXQYacX2k/tBO8lseJF D2FqAf75W9PKjYKOEQJ1LfqUL3nd1PDliGDxET3uk4sGaCb69GCa6aifPSW0S+B8 jV+URjgzFS5E0tEYApWwLbCa9grbjcyzAxCGAMEBakL6TUqrZu0XilfYEPZWiUSO Xg4i196MoH/m8S97YmpBMLGtvQk2sQPzpawDMskjUIMkBWoSYVFOkQRZaA1gEwox RjPPVuCYVjt0fpERYoFBF2yow0k+yaLqg/GXs6wT1oNl3kPbOx7TfAlztKcfRWWD n0ojecLj5ov/aDgW26QxfUlN5ZuEOhaLrseq3TiWetp6+6dIvuXjXKhSY/1eWRa6 TdaDryYGxgkOpNoJGNxT1JMCYNgLklt+gcFSNEK76IeVMHph/j4Zvh8Plzi8Nx6P AZ2n4mwkO+JQ0FgiOQKkBUfgwye7oVJtFsD4JDiIyo8paRbhBhlAb2QfmiArAA77 mBF6cz/Pe3q96n/cd9ryPwxoz2tQ8TcPaiUOCulU6qDG6DZdsAjzei9Hwnikq6D0 Tvv+u9lilWu+Atn+VArBgK9XFN+IBbpF7HZ9uuAzaAKmg/xZIdhgRunZcBC+laqx Ft3cfhyVH9XVdRj/F6oYvWMSSFkzMd7cAtOVH2SaZcm3BIE/Uw99C6+/M+PVh9wR tM43Wo98Exd66I/M9IfG =wHd0 -----END PGP SIGNATURE----- Merge tag 'nomadik-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/dt From Linus Walleij: Device tree patches for the Nomadik machine: - Move clock registration to the device tree - Support probing the MTU timer from the device tree - Register user LED and user key in the device tree - Update defconfig to account for user LED and user key - Move pin control mappings to the device tree * tag 'nomadik-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik: ARM: nomadik: move the pin configuration to DT ARM: nomadik: add led and key for S8815 ARM: nomadik: register clocksource from device tree ARM: nomadik: convert all clocks except timer to dt clocksource: nomadik-mtu: support of probe Signed-off-by: Olof Johansson <olof@lixom.net>
100 lines
2.0 KiB
Plaintext
100 lines
2.0 KiB
Plaintext
/*
|
|
* Device Tree for the ST-Ericsson Nomadik S8815 board
|
|
* Produced by Calao Systems
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "ste-nomadik-stn8815.dtsi"
|
|
|
|
/ {
|
|
model = "Calao Systems USB-S8815";
|
|
compatible = "calaosystems,usb-s8815";
|
|
|
|
chosen {
|
|
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
|
|
};
|
|
|
|
/* This is where the interrupt is routed on the S8815 board */
|
|
external-bus@34000000 {
|
|
ethernet@300 {
|
|
interrupt-parent = <&gpio3>;
|
|
interrupts = <8 0x1>;
|
|
};
|
|
};
|
|
|
|
pinctrl {
|
|
/* Hog CD pins */
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&cd_default_mode>;
|
|
|
|
mmcsd-cd {
|
|
cd_default_mode: cd_default {
|
|
cd_default_cfg1 {
|
|
/* CD input GPIO */
|
|
ste,pins = "GPIO111_H21";
|
|
ste,input = <0>;
|
|
};
|
|
cd_default_cfg2 {
|
|
/* CD GPIO biasing */
|
|
ste,pins = "GPIO112_J21";
|
|
ste,output = <0>;
|
|
};
|
|
};
|
|
};
|
|
user-led {
|
|
user_led_default_mode: user_led_default {
|
|
user_led_default_cfg {
|
|
ste,pins = "GPIO2_C5";
|
|
ste,output = <1>;
|
|
};
|
|
};
|
|
};
|
|
user-button {
|
|
user_button_default_mode: user_button_default {
|
|
user_button_default_cfg {
|
|
ste,pins = "GPIO3_A4";
|
|
ste,input = <0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
/* Custom board node with GPIO pins to active etc */
|
|
usb-s8815 {
|
|
/* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
|
|
ethernet-gpio {
|
|
gpios = <&gpio3 8 0x1>;
|
|
};
|
|
/* This will bias the MMC/SD card detect line */
|
|
mmcsd-gpio {
|
|
gpios = <&gpio3 16 0x1>;
|
|
};
|
|
};
|
|
|
|
/* The user LED on the board is set up to be used for heartbeat */
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
user-led {
|
|
label = "user_led";
|
|
gpios = <&gpio0 2 0x1>;
|
|
default-state = "off";
|
|
linux,default-trigger = "heartbeat";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&user_led_default_mode>;
|
|
};
|
|
};
|
|
|
|
/* User key mapped in as "escape" */
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
user-button {
|
|
label = "user_button";
|
|
gpios = <&gpio0 3 0x1>;
|
|
linux,code = <1>; /* KEY_ESC */
|
|
gpio-key,wakeup;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&user_button_default_mode>;
|
|
};
|
|
};
|
|
};
|