mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c884d8ac7f
Another round of SPDX updates for 5.2-rc6 Here is what I am guessing is going to be the last "big" SPDX update for 5.2. It contains all of the remaining GPLv2 and GPLv2+ updates that were "easy" to determine by pattern matching. The ones after this are going to be a bit more difficult and the people on the spdx list will be discussing them on a case-by-case basis now. Another 5000+ files are fixed up, so our overall totals are: Files checked: 64545 Files with SPDX: 45529 Compared to the 5.1 kernel which was: Files checked: 63848 Files with SPDX: 22576 This is a huge improvement. Also, we deleted another 20000 lines of boilerplate license crud, always nice to see in a diffstat. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -----BEGIN PGP SIGNATURE----- iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCXQyQYA8cZ3JlZ0Brcm9h aC5jb20ACgkQMUfUDdst+ymnGQCghETUBotn1p3hTjY56VEs6dGzpHMAnRT0m+lv kbsjBGEJpLbMRB2krnaU =RMcT -----END PGP SIGNATURE----- Merge tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx Pull still more SPDX updates from Greg KH: "Another round of SPDX updates for 5.2-rc6 Here is what I am guessing is going to be the last "big" SPDX update for 5.2. It contains all of the remaining GPLv2 and GPLv2+ updates that were "easy" to determine by pattern matching. The ones after this are going to be a bit more difficult and the people on the spdx list will be discussing them on a case-by-case basis now. Another 5000+ files are fixed up, so our overall totals are: Files checked: 64545 Files with SPDX: 45529 Compared to the 5.1 kernel which was: Files checked: 63848 Files with SPDX: 22576 This is a huge improvement. Also, we deleted another 20000 lines of boilerplate license crud, always nice to see in a diffstat" * tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx: (65 commits) treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485 ...
286 lines
7.1 KiB
Plaintext
286 lines
7.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
||
/*
|
||
* Copyright (C) 2014-2017 Phytec Messtechnik GmbH
|
||
* Author: Wadim Egorov <w.egorov@phytec.de>
|
||
* Teresa Remmet <t.remmet@phytec.de>
|
||
*/
|
||
|
||
#include <dt-bindings/input/input.h>
|
||
|
||
/ {
|
||
model = "Phytec AM335x PCM-953";
|
||
compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx";
|
||
|
||
/* Power */
|
||
regulators {
|
||
vcc3v3: fixedregulator@1 {
|
||
compatible = "regulator-fixed";
|
||
regulator-name = "vcc3v3";
|
||
regulator-min-microvolt = <3300000>;
|
||
regulator-max-microvolt = <3300000>;
|
||
regulator-boot-on;
|
||
};
|
||
|
||
vcc1v8: fixedregulator@2 {
|
||
compatible = "regulator-fixed";
|
||
regulator-name = "vcc1v8";
|
||
regulator-min-microvolt = <1800000>;
|
||
regulator-max-microvolt = <1800000>;
|
||
regulator-boot-on;
|
||
};
|
||
};
|
||
|
||
/* User IO */
|
||
user_leds: user_leds {
|
||
compatible = "gpio-leds";
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&user_leds_pins>;
|
||
|
||
green {
|
||
label = "green:user";
|
||
gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
|
||
linux,default-trigger = "gpio";
|
||
default-state = "on";
|
||
};
|
||
|
||
yellow {
|
||
label = "yellow:user";
|
||
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
||
linux,default-trigger = "gpio";
|
||
default-state = "on";
|
||
};
|
||
};
|
||
|
||
user_buttons: user_buttons {
|
||
compatible = "gpio-keys";
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&user_buttons_pins>;
|
||
|
||
button@0 {
|
||
label = "home";
|
||
linux,code = <KEY_HOME>;
|
||
gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
|
||
wakeup-source;
|
||
};
|
||
|
||
button@1 {
|
||
label = "menu";
|
||
linux,code = <KEY_MENU>;
|
||
gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
|
||
wakeup-source;
|
||
};
|
||
|
||
};
|
||
};
|
||
|
||
&am33xx_pinmux {
|
||
user_buttons_pins: pinmux_user_buttons {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_EMU0, PIN_INPUT_PULLDOWN, MUX_MODE7) /* emu0.gpio3_7 */
|
||
AM33XX_PADCONF(AM335X_PIN_EMU1, PIN_INPUT_PULLDOWN, MUX_MODE7) /* emu1.gpio3_8 */
|
||
>;
|
||
};
|
||
|
||
user_leds_pins: pinmux_user_leds {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_csn1.gpio1_30 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_csn2.gpio1_31 */
|
||
>;
|
||
};
|
||
};
|
||
|
||
/* CAN */
|
||
&am33xx_pinmux {
|
||
dcan1_pins: pinmux_dcan1 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT_PULLUP, MUX_MODE2) /* uart1_rxd.dcan1_tx_mux2 */
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT_PULLUP, MUX_MODE2) /* uart1_txd.dcan1_rx_mux2 */
|
||
>;
|
||
};
|
||
};
|
||
|
||
&dcan1 {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&dcan1_pins>;
|
||
status = "okay";
|
||
};
|
||
|
||
/* Ethernet */
|
||
&am33xx_pinmux {
|
||
ethernet1_pins: pinmux_ethernet1 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a0.rgmii2_tctl */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a1.rgmii2_rctl */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a2.rgmii2_td3 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a3.rgmii2_td2 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a4.rgmii2_td1 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a5.rgmii2_td0 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* gpmc_a6.rgmii2_tclk */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a7.rgmii2_rclk */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */
|
||
AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */
|
||
>;
|
||
};
|
||
};
|
||
|
||
&cpsw_emac1 {
|
||
phy-handle = <&phy1>;
|
||
phy-mode = "rgmii-id";
|
||
dual_emac_res_vlan = <2>;
|
||
status = "okay";
|
||
};
|
||
|
||
&davinci_mdio {
|
||
phy1: ethernet-phy@2 {
|
||
reg = <2>;
|
||
|
||
/* Register 260 (104h) – RGMII Clock and Control Pad Skew */
|
||
rxc-skew-ps = <1400>;
|
||
rxdv-skew-ps = <0>;
|
||
txc-skew-ps = <1400>;
|
||
txen-skew-ps = <0>;
|
||
/* Register 261 (105h) – RGMII RX Data Pad Skew */
|
||
rxd3-skew-ps = <0>;
|
||
rxd2-skew-ps = <0>;
|
||
rxd1-skew-ps = <0>;
|
||
rxd0-skew-ps = <0>;
|
||
/* Register 262 (106h) – RGMII TX Data Pad Skew */
|
||
txd3-skew-ps = <0>;
|
||
txd2-skew-ps = <0>;
|
||
txd1-skew-ps = <0>;
|
||
txd0-skew-ps = <0>;
|
||
};
|
||
};
|
||
|
||
&mac {
|
||
slaves = <2>;
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <ðernet0_pins ðernet1_pins>;
|
||
dual_emac;
|
||
};
|
||
|
||
/* Misc */
|
||
&am33xx_pinmux {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&cb_gpio_pins>;
|
||
|
||
cb_gpio_pins: pinmux_cb_gpio {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* uart0_ctsn.gpio1_8 */
|
||
AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* uart0_rtsn.gpio1_9 */
|
||
>;
|
||
};
|
||
};
|
||
|
||
/* MMC */
|
||
&am33xx_pinmux {
|
||
mmc1_pins: pinmux_mmc1_pins {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT_PULLUP, MUX_MODE7) /* spi0_cs1.mmc0_sdcd */
|
||
>;
|
||
};
|
||
};
|
||
|
||
&mmc1 {
|
||
vmmc-supply = <&vcc3v3>;
|
||
bus-width = <4>;
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&mmc1_pins>;
|
||
cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||
status = "okay";
|
||
};
|
||
|
||
/* UARTs */
|
||
&am33xx_pinmux {
|
||
uart0_pins: pinmux_uart0 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
|
||
>;
|
||
};
|
||
|
||
uart1_pins: pinmux_uart1 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0)
|
||
AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
|
||
>;
|
||
};
|
||
|
||
uart2_pins: pinmux_uart2 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLUP, MUX_MODE1) /* mii1_tx_clk.uart2_rxd */
|
||
AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* mii1_rx_clk.uart2_txd */
|
||
>;
|
||
};
|
||
|
||
uart3_pins: pinmux_uart3 {
|
||
pinctrl-single,pins = <
|
||
AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLUP, MUX_MODE1) /* mii1_rxd3.uart3_rxd */
|
||
AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* mii1_rxd2.uart3_txd */
|
||
>;
|
||
};
|
||
};
|
||
|
||
&uart0 {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&uart0_pins>;
|
||
status = "okay";
|
||
};
|
||
|
||
&uart1 {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&uart1_pins>;
|
||
};
|
||
|
||
&uart2 {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&uart2_pins>;
|
||
status = "okay";
|
||
};
|
||
|
||
&uart3 {
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&uart3_pins>;
|
||
status = "okay";
|
||
};
|
||
|
||
/* USB */
|
||
&cppi41dma {
|
||
status = "okay";
|
||
};
|
||
|
||
&usb_ctrl_mod {
|
||
status = "okay";
|
||
};
|
||
|
||
&usb {
|
||
status = "okay";
|
||
};
|
||
|
||
&usb0 {
|
||
status = "okay";
|
||
};
|
||
|
||
&usb0_phy {
|
||
status = "okay";
|
||
};
|
||
|
||
&usb1 {
|
||
status = "okay";
|
||
dr_mode = "host";
|
||
};
|
||
|
||
&usb1_phy {
|
||
status = "okay";
|
||
};
|