Amlogic fixes for v4.13-rc
- 2 minor DT fixes -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZf0PMAAoJEFk3GJrT+8ZlJskP/0JXcJt1I4myJv9A9z/+t0nh 7vT8H/ZwSyvK+/Iq1ccrf0Abe/c3445yHCwnF0T87R14A+oVVML5+uDolHIRZjlf Wka34OoZFR9qTjphsFfQdZ0YcId7+a3BXNyvdkIWytWB+tzy/gpvlExBd54wJy0c rceTEJsdmyObBFTmMTdlTzKQYLvurWoZ7d/N+T81UD3g0Xmq0EIOk0pEHSThK4SS yQQWfRu7PCWDfXVu7qImalniaSa6wriHFC8hnrmaLfm2a9axfrTpvVknYuZUROlj 3T0Hgq3YHYe+BpS1P1Wryh60Yc8umbGy5JYg4GFOlNEGT9lBflk7nyG25aAbtwXY BUU/r1cA1K+wR3XbUK9dpxW0GeCDTsQkHY9SA6+Aj5utNcMVhlnmGAHxJX9j1a8n OhZtk339oCuBaf2Eg67OLvNGCPN21LAr2PL22LEGWkKSEUI61/1ZP1jjuCjN8Yk0 spXdFshdkYJyMqA4VuR05R5sBgqO25hXVDB2RYE4OuKINvAOfckgY9XpUhndxuYx VVfX1up4bwoAUzVR+7XIsVrHaDR8pNS/Uv6kbhfB3X2c/jyPD1/Rc3T8p5DYirt7 DUPv8MJm/cwEC6uinQyqHTgB0tYLTWEY2+sv8NI2u8geYoJZO+Kt/12f3gcx296e 82LIlHnYKfYqUaqFwRRJ =Z5d3 -----END PGP SIGNATURE----- Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into fixes Pull "Amlogic fixes for v4.13-rc" from Kevin Hilman: - 2 minor DT fixes * tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: dts: meson-gxl-s905x-libretech-cc: fixup board definition ARM64: dts: meson-gx: use specific compatible for the AO pwms
This commit is contained in:
commit
b99bba09a5
|
@ -400,7 +400,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pwm_AO_ab: pwm@550 {
|
pwm_AO_ab: pwm@550 {
|
||||||
compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm";
|
compatible = "amlogic,meson-gx-ao-pwm", "amlogic,meson-gxbb-ao-pwm";
|
||||||
reg = <0x0 0x00550 0x0 0x10>;
|
reg = <0x0 0x00550 0x0 0x10>;
|
||||||
#pwm-cells = <3>;
|
#pwm-cells = <3>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
|
|
@ -109,8 +109,8 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
|
pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
clocks = <&clkc CLKID_FCLK_DIV4>;
|
clocks = <&xtal> , <&xtal>;
|
||||||
clock-names = "clkin0";
|
clock-names = "clkin0", "clkin1" ;
|
||||||
};
|
};
|
||||||
|
|
||||||
&pwm_ef {
|
&pwm_ef {
|
||||||
|
|
|
@ -10,12 +10,20 @@
|
||||||
|
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
#include "meson-gxl-s905x-p212.dtsi"
|
#include "meson-gxl-s905x.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
|
compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
|
||||||
model = "Libre Technology CC";
|
model = "Libre Technology CC";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
serial0 = &uart_AO;
|
||||||
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
|
||||||
cvbs-connector {
|
cvbs-connector {
|
||||||
compatible = "composite-video-connector";
|
compatible = "composite-video-connector";
|
||||||
|
|
||||||
|
@ -26,6 +34,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emmc_pwrseq: emmc-pwrseq {
|
||||||
|
compatible = "mmc-pwrseq-emmc";
|
||||||
|
reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
hdmi-connector {
|
hdmi-connector {
|
||||||
compatible = "hdmi-connector";
|
compatible = "hdmi-connector";
|
||||||
type = "a";
|
type = "a";
|
||||||
|
@ -53,6 +66,39 @@
|
||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
memory@0 {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0x0 0x0 0x0 0x80000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vcc_3v3: regulator-vcc_3v3 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "VCC_3V3";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vcc_card: regulator-vcc-card {
|
||||||
|
compatible = "regulator-gpio";
|
||||||
|
|
||||||
|
regulator-name = "VCC_CARD";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
|
||||||
|
gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
|
||||||
|
gpios-states = <0>;
|
||||||
|
|
||||||
|
states = <3300000 0>,
|
||||||
|
<1800000 1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vddio_boot: regulator-vddio_boot {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "VDDIO_BOOT";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&cvbs_vdac_port {
|
&cvbs_vdac_port {
|
||||||
|
@ -61,6 +107,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðmac {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ir {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&remote_input_ao_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
||||||
&hdmi_tx {
|
&hdmi_tx {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
|
pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
|
||||||
|
@ -73,20 +129,43 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/* SD card */
|
||||||
* The following devices exists but are exposed on the general
|
&sd_emmc_b {
|
||||||
* purpose GPIO header. End user may well decide to use those pins
|
status = "okay";
|
||||||
* for another purpose
|
pinctrl-0 = <&sdcard_pins>;
|
||||||
*/
|
pinctrl-names = "default";
|
||||||
|
|
||||||
&sd_emmc_a {
|
bus-width = <4>;
|
||||||
status = "disabled";
|
cap-sd-highspeed;
|
||||||
|
max-frequency = <100000000>;
|
||||||
|
disable-wp;
|
||||||
|
|
||||||
|
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
|
||||||
|
cd-inverted;
|
||||||
|
|
||||||
|
vmmc-supply = <&vcc_3v3>;
|
||||||
|
vqmmc-supply = <&vcc_card>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart_A {
|
/* eMMC */
|
||||||
status = "disabled";
|
&sd_emmc_c {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&emmc_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
bus-width = <8>;
|
||||||
|
cap-mmc-highspeed;
|
||||||
|
max-frequency = <50000000>;
|
||||||
|
non-removable;
|
||||||
|
disable-wp;
|
||||||
|
|
||||||
|
mmc-pwrseq = <&emmc_pwrseq>;
|
||||||
|
vmmc-supply = <&vcc_3v3>;
|
||||||
|
vqmmc-supply = <&vddio_boot>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&wifi32k {
|
&uart_AO {
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
|
pinctrl-0 = <&uart_ao_a_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue