mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
cf680cc525
dtc has new checks for I2C and SPI buses. Fix the warnings in node names and unit-addresses. arch/arm/boot/dts/dove-cubox.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60" arch/arm/boot/dts/dove-cubox-es.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60" arch/arm/boot/dts/dove-cubox.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-cubox-es.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-dove-db.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi' arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@14600: node name for SPI buses should be 'spi' arch/arm/boot/dts/orion5x-kuroboxpro.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lschl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lsgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" arch/arm/boot/dts/orion5x-linkstation-lswtgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32" Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Cc: Gregory Clement <gregory.clement@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
144 lines
2.5 KiB
Plaintext
144 lines
2.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include "dove.dtsi"
|
|
|
|
/ {
|
|
model = "SolidRun CuBox";
|
|
compatible = "solidrun,cubox", "marvell,dove";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x40000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_gpio_18>;
|
|
pinctrl-names = "default";
|
|
|
|
power {
|
|
label = "Power";
|
|
gpios = <&gpio0 18 1>;
|
|
default-state = "keep";
|
|
};
|
|
};
|
|
|
|
regulators {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
usb_power: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
reg = <1>;
|
|
regulator-name = "USB Power";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
gpio = <&gpio0 1 0>;
|
|
pinctrl-0 = <&pmx_gpio_1>;
|
|
pinctrl-names = "default";
|
|
};
|
|
};
|
|
|
|
clocks {
|
|
/* 25MHz reference crystal */
|
|
ref25: oscillator {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <25000000>;
|
|
};
|
|
};
|
|
|
|
ir_recv: ir-receiver {
|
|
compatible = "gpio-ir-receiver";
|
|
gpios = <&gpio0 19 1>;
|
|
pinctrl-0 = <&pmx_gpio_19>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
gpu-subsystem {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&uart0 { status = "okay"; };
|
|
&sata0 { status = "okay"; };
|
|
&mdio { status = "okay"; };
|
|
ð { status = "okay"; };
|
|
|
|
ðphy {
|
|
compatible = "marvell,88e1310";
|
|
reg = <1>;
|
|
};
|
|
|
|
&gpu {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
clock-frequency = <100000>;
|
|
|
|
si5351: clock-generator@60 {
|
|
compatible = "silabs,si5351a-msop";
|
|
reg = <0x60>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#clock-cells = <1>;
|
|
|
|
/* connect xtal input to 25MHz reference */
|
|
clocks = <&ref25>;
|
|
clock-names = "xtal";
|
|
|
|
/* connect xtal input as source of pll0 and pll1 */
|
|
silabs,pll-source = <0 0>, <1 0>;
|
|
|
|
clkout0 {
|
|
reg = <0>;
|
|
silabs,drive-strength = <8>;
|
|
silabs,multisynth-source = <0>;
|
|
silabs,clock-source = <0>;
|
|
silabs,pll-master;
|
|
};
|
|
|
|
clkout2 {
|
|
reg = <2>;
|
|
silabs,drive-strength = <8>;
|
|
silabs,multisynth-source = <1>;
|
|
silabs,clock-source = <0>;
|
|
silabs,pll-master;
|
|
};
|
|
};
|
|
};
|
|
|
|
&sdio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
/* spi0.0: 4M Flash Winbond W25Q32BV */
|
|
spi-flash@0 {
|
|
compatible = "st,w25q32";
|
|
spi-max-frequency = <20000000>;
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
&audio1 {
|
|
status = "okay";
|
|
clocks = <&gate_clk 13>, <&si5351 2>;
|
|
clock-names = "internal", "extclk";
|
|
pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>;
|
|
pinctrl-names = "default";
|
|
};
|