mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 16:10:24 +09:00
arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1
Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford <aford173@gmail.com>
This commit is contained in:
parent
de811ee46c
commit
b2c86f596c
@ -5,35 +5,27 @@
|
|||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
#include <dt-bindings/clk/versaclock.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
backlight_lvds: backlight-lvds {
|
||||||
serial0 = &scif2;
|
|
||||||
serial1 = &hscif0;
|
|
||||||
serial2 = &hscif1;
|
|
||||||
serial3 = &scif0;
|
|
||||||
serial4 = &hscif2;
|
|
||||||
serial5 = &scif5;
|
|
||||||
spi0 = &msiof0;
|
|
||||||
spi1 = &msiof1;
|
|
||||||
spi2 = &msiof2;
|
|
||||||
spi3 = &msiof3;
|
|
||||||
ethernet0 = &avb;
|
|
||||||
};
|
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
backlight: backlight {
|
|
||||||
compatible = "pwm-backlight";
|
compatible = "pwm-backlight";
|
||||||
power-supply = <®_lcd>;
|
power-supply = <®_lcd>;
|
||||||
enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>;
|
enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>;
|
||||||
pwms = <&pwm0 0 50000>;
|
pwms = <&pwm2 0 25000>;
|
||||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||||
default-brightness-level = <6>;
|
default-brightness-level = <6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight_dpi: backlight-dpi {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
power-supply = <®_lcd>;
|
||||||
|
enable-gpios = <&gpio_exp1 7 GPIO_ACTIVE_LOW>;
|
||||||
|
pwms = <&pwm0 0 25000>;
|
||||||
|
brightness-levels = <0 25 33 50 63 75 88 100>;
|
||||||
|
default-brightness-level = <6>;
|
||||||
|
};
|
||||||
|
|
||||||
hdmi0-out {
|
hdmi0-out {
|
||||||
compatible = "hdmi-connector";
|
compatible = "hdmi-connector";
|
||||||
type = "a";
|
type = "a";
|
||||||
@ -48,38 +40,38 @@
|
|||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
key-1 {
|
key-1 { /* S19 */
|
||||||
gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_1>;
|
linux,code = <KEY_UP>;
|
||||||
label = "Switch-1";
|
label = "Up";
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
debounce-interval = <20>;
|
debounce-interval = <20>;
|
||||||
};
|
};
|
||||||
key-2 {
|
key-2 { /*S20 */
|
||||||
gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_2>;
|
linux,code = <KEY_LEFT>;
|
||||||
label = "Switch-2";
|
label = "Left";
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
debounce-interval = <20>;
|
debounce-interval = <20>;
|
||||||
};
|
};
|
||||||
key-3 {
|
key-3 { /* S21 */
|
||||||
gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_3>;
|
linux,code = <KEY_DOWN>;
|
||||||
label = "Switch-3";
|
label = "Down";
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
debounce-interval = <20>;
|
debounce-interval = <20>;
|
||||||
};
|
};
|
||||||
key-4 {
|
key-4 { /* S22 */
|
||||||
gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_4>;
|
linux,code = <KEY_RIGHT>;
|
||||||
label = "Switch-4";
|
label = "Right";
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
debounce-interval = <20>;
|
debounce-interval = <20>;
|
||||||
};
|
};
|
||||||
key-5 {
|
key-5 { /* S23 */
|
||||||
gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_5>;
|
linux,code = <KEY_ENTER>;
|
||||||
label = "Switch-4";
|
label = "Center";
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
debounce-interval = <20>;
|
debounce-interval = <20>;
|
||||||
};
|
};
|
||||||
@ -98,17 +90,59 @@
|
|||||||
led1 {
|
led1 {
|
||||||
gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
|
||||||
label = "LED1";
|
label = "LED1";
|
||||||
linux,default-trigger = "heartbeat";
|
|
||||||
};
|
};
|
||||||
led2 {
|
led2 {
|
||||||
gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
||||||
label = "LED2";
|
label = "LED2";
|
||||||
linux,default-trigger = "heartbeat";
|
|
||||||
};
|
};
|
||||||
led3 {
|
led3 {
|
||||||
gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
|
||||||
label = "LED3";
|
label = "LED3";
|
||||||
linux,default-trigger = "heartbeat";
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
lvds {
|
||||||
|
compatible = "panel-lvds";
|
||||||
|
power-supply = <®_lcd_reset>;
|
||||||
|
width-mm = <223>;
|
||||||
|
height-mm = <125>;
|
||||||
|
backlight = <&backlight_lvds>;
|
||||||
|
data-mapping = "vesa-24";
|
||||||
|
|
||||||
|
panel-timing {
|
||||||
|
/* 800x480@60Hz */
|
||||||
|
clock-frequency = <30000000>;
|
||||||
|
hactive = <800>;
|
||||||
|
vactive = <480>;
|
||||||
|
hsync-len = <48>;
|
||||||
|
hfront-porch = <40>;
|
||||||
|
hback-porch = <40>;
|
||||||
|
vfront-porch = <13>;
|
||||||
|
vback-porch = <29>;
|
||||||
|
vsync-len = <1>;
|
||||||
|
hsync-active = <1>;
|
||||||
|
vsync-active = <3>;
|
||||||
|
de-active = <1>;
|
||||||
|
pixelclk-active = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
port {
|
||||||
|
panel_in: endpoint {
|
||||||
|
remote-endpoint = <&lvds0_out>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
rgb {
|
||||||
|
/* Different LCD with compatible timings */
|
||||||
|
compatible = "rocktech,rk070er9427";
|
||||||
|
backlight = <&backlight_dpi>;
|
||||||
|
enable-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
|
||||||
|
power-supply = <®_lcd>;
|
||||||
|
port {
|
||||||
|
rgb_panel: endpoint {
|
||||||
|
remote-endpoint = <&du_out_rgb>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -117,7 +151,7 @@
|
|||||||
regulator-name = "audio-1.8V";
|
regulator-name = "audio-1.8V";
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
gpio = <&gpio_exp2 7 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio_exp4 1 GPIO_ACTIVE_HIGH>;
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -167,15 +201,12 @@
|
|||||||
|
|
||||||
vccq_sdhi0: regulator-vccq-sdhi0 {
|
vccq_sdhi0: regulator-vccq-sdhi0 {
|
||||||
compatible = "regulator-gpio";
|
compatible = "regulator-gpio";
|
||||||
|
|
||||||
regulator-name = "SDHI0 VccQ";
|
regulator-name = "SDHI0 VccQ";
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
|
||||||
gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
|
||||||
gpios-states = <1>;
|
gpios-states = <1>;
|
||||||
states = <3300000 1>, <1800000 0>;
|
states = <3300000 1>, <1800000 0>;
|
||||||
regulator-always-on;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* External DU dot clocks */
|
/* External DU dot clocks */
|
||||||
@ -190,10 +221,29 @@
|
|||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <25000000>;
|
clock-frequency = <25000000>;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&audio_clk_a {
|
connector {
|
||||||
clock-frequency = <22579200>;
|
compatible = "usb-c-connector";
|
||||||
|
label = "USB-C";
|
||||||
|
data-role = "dual";
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
hs_ep: endpoint {
|
||||||
|
remote-endpoint = <&usb3_hs_ep>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
ss_ep: endpoint {
|
||||||
|
remote-endpoint = <&hd3ss3220_in_ep>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&audio_clk_b {
|
&audio_clk_b {
|
||||||
@ -214,30 +264,19 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&du {
|
&du_out_rgb {
|
||||||
pinctrl-0 = <&du_pins>;
|
remote-endpoint = <&rgb_panel>;
|
||||||
pinctrl-names = "default";
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
clocks = <&cpg CPG_MOD 724>,
|
|
||||||
<&cpg CPG_MOD 723>,
|
|
||||||
<&cpg CPG_MOD 722>,
|
|
||||||
<&versaclock5 1>,
|
|
||||||
<&x302_clk>,
|
|
||||||
<&versaclock5 2>;
|
|
||||||
clock-names = "du.0", "du.1", "du.2",
|
|
||||||
"dclkin.0", "dclkin.1", "dclkin.2";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&ehci0 {
|
&ehci0 {
|
||||||
dr_mode = "otg";
|
dr_mode = "otg";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>, <&versaclock6_bb 4>;
|
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&ehci1 {
|
&ehci1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 4>;
|
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&hdmi0 {
|
&hdmi0 {
|
||||||
@ -258,7 +297,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
port@2 {
|
port@2 {
|
||||||
/* HDMI sound */
|
|
||||||
reg = <2>;
|
reg = <2>;
|
||||||
dw_hdmi0_snd_in: endpoint {
|
dw_hdmi0_snd_in: endpoint {
|
||||||
remote-endpoint = <&rsnd_endpoint1>;
|
remote-endpoint = <&rsnd_endpoint1>;
|
||||||
@ -281,7 +319,7 @@
|
|||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <400000>;
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
pinctrl-0 = <&i2c2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
@ -299,18 +337,49 @@
|
|||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
versaclock6_bb: versaclock6_bb@6a {
|
gpio_exp4: gpio@23 {
|
||||||
|
compatible = "onnn,pca9654";
|
||||||
|
reg = <0x23>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
versaclock6_bb: clock-controller@6a {
|
||||||
compatible = "idt,5p49v6965";
|
compatible = "idt,5p49v6965";
|
||||||
reg = <0x6a>;
|
reg = <0x6a>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
clocks = <&x304_clk>;
|
clocks = <&x304_clk>;
|
||||||
clock-names = "xin";
|
clock-names = "xin";
|
||||||
/* CSI0_MCLK, CSI1_MCLK, AUDIO_CLKIN, USB_HUB_MCLK_BB */
|
|
||||||
assigned-clocks = <&versaclock6_bb 1>,
|
assigned-clocks = <&versaclock6_bb 1>,
|
||||||
<&versaclock6_bb 2>,
|
<&versaclock6_bb 2>,
|
||||||
<&versaclock6_bb 3>,
|
<&versaclock6_bb 3>,
|
||||||
<&versaclock6_bb 4>;
|
<&versaclock6_bb 4>;
|
||||||
assigned-clock-rates = <24000000>, <24000000>, <24000000>, <24000000>;
|
assigned-clock-rates = <24000000>, <24000000>, <24000000>, <24576000>;
|
||||||
|
|
||||||
|
OUT1 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <1800000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT2 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <1800000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT3 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <3300000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT4 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <3300000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -324,13 +393,14 @@
|
|||||||
|
|
||||||
&i2c5 {
|
&i2c5 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <400000>;
|
||||||
pinctrl-0 = <&i2c5_pins>;
|
pinctrl-0 = <&i2c5_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
codec: wm8962@1a {
|
codec: wm8962@1a {
|
||||||
compatible = "wlf,wm8962";
|
compatible = "wlf,wm8962";
|
||||||
reg = <0x1a>;
|
reg = <0x1a>;
|
||||||
|
clocks = <&versaclock6_bb 3>;
|
||||||
DCVDD-supply = <®_audio>;
|
DCVDD-supply = <®_audio>;
|
||||||
DBVDD-supply = <®_audio>;
|
DBVDD-supply = <®_audio>;
|
||||||
AVDD-supply = <®_audio>;
|
AVDD-supply = <®_audio>;
|
||||||
@ -375,6 +445,49 @@
|
|||||||
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hd3ss3220@47 {
|
||||||
|
compatible = "ti,hd3ss3220";
|
||||||
|
reg = <0x47>;
|
||||||
|
interrupt-parent = <&gpio6>;
|
||||||
|
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
hd3ss3220_in_ep: endpoint {
|
||||||
|
remote-endpoint = <&ss_ep>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
hd3ss3220_out_ep: endpoint {
|
||||||
|
remote-endpoint = <&usb3_role_switch>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&lvds0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ports {
|
||||||
|
port@1 {
|
||||||
|
lvds0_out: endpoint {
|
||||||
|
remote-endpoint = <&panel_in>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&msiof1 {
|
||||||
|
pinctrl-0 = <&msiof1_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
cs-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&ohci0 {
|
&ohci0 {
|
||||||
@ -440,6 +553,11 @@
|
|||||||
function = "pwm0";
|
function = "pwm0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm2_pins: pwm2 {
|
||||||
|
groups = "pwm2_a";
|
||||||
|
function = "pwm2";
|
||||||
|
};
|
||||||
|
|
||||||
sdhi0_pins: sd0 {
|
sdhi0_pins: sd0 {
|
||||||
groups = "sdhi0_data4", "sdhi0_ctrl";
|
groups = "sdhi0_data4", "sdhi0_ctrl";
|
||||||
function = "sdhi0";
|
function = "sdhi0";
|
||||||
@ -458,7 +576,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
sound_clk_pins: sound_clk {
|
sound_clk_pins: sound_clk {
|
||||||
groups = "audio_clk_a_a";
|
groups = "audio_clk_a_a", "audio_clk_b_a";
|
||||||
function = "audio_clk";
|
function = "audio_clk";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -490,6 +608,12 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pwm2 {
|
||||||
|
pinctrl-0 = <&pwm2_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&rcar_sound {
|
&rcar_sound {
|
||||||
pinctrl-0 = <&sound_pins &sound_clk_pins>;
|
pinctrl-0 = <&sound_pins &sound_clk_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@ -503,23 +627,6 @@
|
|||||||
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
clocks = <&cpg CPG_MOD 1005>,
|
|
||||||
<&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
|
|
||||||
<&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
|
|
||||||
<&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
|
|
||||||
<&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
|
|
||||||
<&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
|
|
||||||
<&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
|
|
||||||
<&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
|
|
||||||
<&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
|
|
||||||
<&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
|
|
||||||
<&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
|
|
||||||
<&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
|
|
||||||
<&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
|
|
||||||
<&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
|
|
||||||
<&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
|
|
||||||
<&cpg CPG_CORE R8A774A1_CLK_S0D4>;
|
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@ -551,6 +658,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&rwdt {
|
||||||
|
status = "okay";
|
||||||
|
timeout-sec = <60>;
|
||||||
|
};
|
||||||
|
|
||||||
&scif0 {
|
&scif0 {
|
||||||
pinctrl-0 = <&scif0_pins>;
|
pinctrl-0 = <&scif0_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@ -584,6 +696,26 @@
|
|||||||
shared-pin;
|
shared-pin;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&tmu0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&tmu1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&tmu2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&tmu3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&tmu4 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&usb2_phy0 {
|
&usb2_phy0 {
|
||||||
pinctrl-0 = <&usb0_pins>;
|
pinctrl-0 = <&usb0_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@ -595,3 +727,62 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usb3_peri0 {
|
||||||
|
companion = <&xhci0>;
|
||||||
|
status = "okay";
|
||||||
|
usb-role-switch;
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
usb3_hs_ep: endpoint {
|
||||||
|
remote-endpoint = <&hs_ep>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
usb3_role_switch: endpoint {
|
||||||
|
remote-endpoint = <&hd3ss3220_out_ep>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb3_phy0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&vin0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin4 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin5 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin6 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
&vin7 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&xhci0
|
||||||
|
{
|
||||||
|
pinctrl-0 = <&usb30_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
@ -4,17 +4,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/clk/versaclock.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
memory@48000000 {
|
memory@48000000 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
/* first 128MB is reserved for secure area. */
|
/* first 128MB is reserved for secure area. */
|
||||||
reg = <0x0 0x48000000 0x0 0x78000000>;
|
reg = <0x0 0x48000000 0x0 0xc000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
memory@600000000 {
|
memory@57000000 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x6 0x00000000 0x0 0x80000000>;
|
reg = <0x0 0x57000000 0x0 0x29000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
osc_32k: osc_32k {
|
osc_32k: osc_32k {
|
||||||
@ -55,7 +56,8 @@
|
|||||||
pinctrl-0 = <&avb_pins>;
|
pinctrl-0 = <&avb_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
phy-handle = <&phy0>;
|
phy-handle = <&phy0>;
|
||||||
phy-mode = "rgmii-id";
|
rx-internal-delay-ps = <1800>;
|
||||||
|
tx-internal-delay-ps = <2000>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
phy0: ethernet-phy@0 {
|
phy0: ethernet-phy@0 {
|
||||||
@ -88,7 +90,6 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
uart-has-rtscts;
|
uart-has-rtscts;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
max-speed = <4000000>;
|
|
||||||
|
|
||||||
bluetooth {
|
bluetooth {
|
||||||
compatible = "brcm,bcm43438-bt";
|
compatible = "brcm,bcm43438-bt";
|
||||||
@ -97,6 +98,7 @@
|
|||||||
device-wakeup-gpios = <&pca9654 5 GPIO_ACTIVE_HIGH>;
|
device-wakeup-gpios = <&pca9654 5 GPIO_ACTIVE_HIGH>;
|
||||||
clocks = <&osc_32k>;
|
clocks = <&osc_32k>;
|
||||||
clock-names = "extclk";
|
clock-names = "extclk";
|
||||||
|
max-speed = <4000000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -108,7 +110,7 @@
|
|||||||
|
|
||||||
&i2c4 {
|
&i2c4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <100000>;
|
||||||
|
|
||||||
pca9654: gpio@20 {
|
pca9654: gpio@20 {
|
||||||
compatible = "onnn,pca9654";
|
compatible = "onnn,pca9654";
|
||||||
@ -147,7 +149,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
eeprom@50 {
|
eeprom@50 {
|
||||||
compatible = "microchip, at24c64", "atmel,24c64";
|
compatible = "microchip,at24c64", "atmel,24c64";
|
||||||
pagesize = <32>;
|
pagesize = <32>;
|
||||||
read-only; /* Manufacturing EEPROM programmed at factory */
|
read-only; /* Manufacturing EEPROM programmed at factory */
|
||||||
reg = <0x50>;
|
reg = <0x50>;
|
||||||
@ -169,7 +171,32 @@
|
|||||||
<&versaclock5 2>,
|
<&versaclock5 2>,
|
||||||
<&versaclock5 3>,
|
<&versaclock5 3>,
|
||||||
<&versaclock5 4>;
|
<&versaclock5 4>;
|
||||||
|
|
||||||
assigned-clock-rates = <33333333>, <33333333>, <50000000>, <125000000>;
|
assigned-clock-rates = <33333333>, <33333333>, <50000000>, <125000000>;
|
||||||
|
|
||||||
|
OUT1 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <1800000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT2 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <1800000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT3 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <1800000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OUT4 {
|
||||||
|
idt,mode = <VC5_CMOS>;
|
||||||
|
idt,voltage-microvolt = <3300000>;
|
||||||
|
idt,slew-percent = <100>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -295,18 +322,14 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb_extal_clk {
|
&usb2_clksel {
|
||||||
clock-frequency = <50000000>;
|
status = "okay";
|
||||||
|
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
|
||||||
|
<&versaclock5 3>, <&usb3s0_clk>;
|
||||||
|
clock-names = "ehci_ohci", "hs-usb-if",
|
||||||
|
"usb_extal", "usb_xtal";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb3s0_clk {
|
&usb3s0_clk {
|
||||||
clock-frequency = <100000000>;
|
clock-frequency = <100000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&vspb {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&vspi0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
@ -10,6 +10,61 @@
|
|||||||
#include "beacon-renesom-baseboard.dtsi"
|
#include "beacon-renesom-baseboard.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Beacon Embedded Works RZ/G2M Development Kit";
|
model = "Beacon EmbeddedWorks RZ/G2M Development Kit";
|
||||||
compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
|
compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
serial0 = &scif2;
|
||||||
|
serial1 = &hscif0;
|
||||||
|
serial2 = &hscif1;
|
||||||
|
serial3 = &scif0;
|
||||||
|
serial4 = &hscif2;
|
||||||
|
serial5 = &scif5;
|
||||||
|
ethernet0 = &avb;
|
||||||
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory@600000000 {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0x6 0x00000000 0x0 0x80000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&du {
|
||||||
|
pinctrl-0 = <&du_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
clocks = <&cpg CPG_MOD 724>,
|
||||||
|
<&cpg CPG_MOD 723>,
|
||||||
|
<&cpg CPG_MOD 722>,
|
||||||
|
<&versaclock5 1>,
|
||||||
|
<&x302_clk>,
|
||||||
|
<&versaclock5 2>;
|
||||||
|
clock-names = "du.0", "du.1", "du.2",
|
||||||
|
"dclkin.0", "dclkin.1", "dclkin.2";
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Reference versaclock instead of audio_clk_a */
|
||||||
|
&rcar_sound {
|
||||||
|
clocks = <&cpg CPG_MOD 1005>,
|
||||||
|
<&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
|
||||||
|
<&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
|
||||||
|
<&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
|
||||||
|
<&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
|
||||||
|
<&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
|
||||||
|
<&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
|
||||||
|
<&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
|
||||||
|
<&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
|
||||||
|
<&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
|
||||||
|
<&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
|
||||||
|
<&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
|
||||||
|
<&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
|
||||||
|
<&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
|
||||||
|
<&versaclock6_bb 4>, <&audio_clk_b>,
|
||||||
|
<&audio_clk_c>,
|
||||||
|
<&cpg CPG_CORE R8A774A1_CLK_S0D4>;
|
||||||
};
|
};
|
||||||
|
@ -408,7 +408,7 @@
|
|||||||
resets = <&cpg 905>;
|
resets = <&cpg 905>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pfc: pin-controller@e6060000 {
|
pfc: pinctrl@e6060000 {
|
||||||
compatible = "renesas,pfc-r8a774a1";
|
compatible = "renesas,pfc-r8a774a1";
|
||||||
reg = <0 0xe6060000 0 0x50c>;
|
reg = <0 0xe6060000 0 0x50c>;
|
||||||
};
|
};
|
||||||
@ -835,6 +835,21 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usb2_clksel: clock-controller@e6590630 {
|
||||||
|
compatible = "renesas,r8a774a1-rcar-usb2-clock-sel",
|
||||||
|
"renesas,rcar-gen3-usb2-clock-sel";
|
||||||
|
reg = <0 0xe6590630 0 0x02>;
|
||||||
|
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
|
||||||
|
<&usb_extal_clk>, <&usb3s0_clk>;
|
||||||
|
clock-names = "ehci_ohci", "hs-usb-if",
|
||||||
|
"usb_extal", "usb_xtal";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
||||||
|
resets = <&cpg 703>, <&cpg 704>;
|
||||||
|
reset-names = "ehci_ohci", "hs-usb-if";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
usb_dmac0: dma-controller@e65a0000 {
|
usb_dmac0: dma-controller@e65a0000 {
|
||||||
compatible = "renesas,r8a774a1-usb-dmac",
|
compatible = "renesas,r8a774a1-usb-dmac",
|
||||||
"renesas,usb-dmac";
|
"renesas,usb-dmac";
|
||||||
@ -1115,6 +1130,8 @@
|
|||||||
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
||||||
resets = <&cpg 812>;
|
resets = <&cpg 812>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
|
rx-internal-delay-ps = <0>;
|
||||||
|
tx-internal-delay-ps = <0>;
|
||||||
iommus = <&ipmmu_ds0 16>;
|
iommus = <&ipmmu_ds0 16>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@ -2300,6 +2317,23 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rpc: spi@ee200000 {
|
||||||
|
compatible = "renesas,r8a774a1-rpc-if",
|
||||||
|
"renesas,rcar-gen3-rpc-if";
|
||||||
|
reg = <0 0xee200000 0 0x200>,
|
||||||
|
<0 0x08000000 0 0x4000000>,
|
||||||
|
<0 0xee208000 0 0x100>;
|
||||||
|
reg-names = "regs", "dirmap", "wbuf";
|
||||||
|
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
clock-names = "rpc";
|
||||||
|
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
||||||
|
resets = <&cpg 917>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
gic: interrupt-controller@f1010000 {
|
gic: interrupt-controller@f1010000 {
|
||||||
compatible = "arm,gic-400";
|
compatible = "arm,gic-400";
|
||||||
#interrupt-cells = <3>;
|
#interrupt-cells = <3>;
|
||||||
@ -2371,6 +2405,44 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pciec0_ep: pcie-ep@fe000000 {
|
||||||
|
compatible = "renesas,r8a774a1-pcie-ep",
|
||||||
|
"renesas,rcar-gen3-pcie-ep";
|
||||||
|
reg = <0x0 0xfe000000 0 0x80000>,
|
||||||
|
<0x0 0xfe100000 0 0x100000>,
|
||||||
|
<0x0 0xfe200000 0 0x200000>,
|
||||||
|
<0x0 0x30000000 0 0x8000000>,
|
||||||
|
<0x0 0x38000000 0 0x8000000>;
|
||||||
|
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
|
||||||
|
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cpg CPG_MOD 319>;
|
||||||
|
clock-names = "pcie";
|
||||||
|
resets = <&cpg 319>;
|
||||||
|
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
pciec1_ep: pcie-ep@ee800000 {
|
||||||
|
compatible = "renesas,r8a774a1-pcie-ep",
|
||||||
|
"renesas,rcar-gen3-pcie-ep";
|
||||||
|
reg = <0x0 0xee800000 0 0x80000>,
|
||||||
|
<0x0 0xee900000 0 0x100000>,
|
||||||
|
<0x0 0xeea00000 0 0x200000>,
|
||||||
|
<0x0 0xc0000000 0 0x8000000>,
|
||||||
|
<0x0 0xc8000000 0 0x8000000>;
|
||||||
|
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
|
||||||
|
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cpg CPG_MOD 318>;
|
||||||
|
clock-names = "pcie";
|
||||||
|
resets = <&cpg 318>;
|
||||||
|
power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
fdp1@fe940000 {
|
fdp1@fe940000 {
|
||||||
compatible = "renesas,fdp1";
|
compatible = "renesas,fdp1";
|
||||||
reg = <0 0xfe940000 0 0x2400>;
|
reg = <0 0xfe940000 0 0x2400>;
|
||||||
|
Loading…
Reference in New Issue
Block a user