From: matthias.bgg@gmail.com (Matthias Brugger)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 12/19] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg)
Date: Sun, 18 Mar 2018 22:54:48 +0100 [thread overview]
Message-ID: <0ff8d1ab-704a-1263-ec16-a9f3464b5798@gmail.com> (raw)
In-Reply-To: <5cf5b140e45b8484eca780b53cc223ba8d1d768b.1519378872.git.sean.wang@mediatek.com>
On 02/23/2018 11:16 AM, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
>
> Fix below a lot of warnings that dtc complains so much
>
> Warning (unit_address_vs_reg): Node /oscillator at 1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /oscillator at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/cir at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/i2c at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/i2c at 1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/i2s at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/i2s at 1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/keys at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/leds at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/pwm at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/spi at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/uart at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/uart at 1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /pinctrl at 10005000/uart at 2 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /ethernet at 1b100000/mdio-bus/switch at 0/ports has a reg or ranges property, but no unit name
>
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: devicetree at vger.kernel.org
> ---
> arch/arm/boot/dts/mt7623.dtsi | 4 ++--
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 29 +++++++++++++--------------
> arch/arm/boot/dts/mt7623n-rfb.dtsi | 2 +-
> 3 files changed, 17 insertions(+), 18 deletions(-)
>
> diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
> index 4b68448..bf9db44 100644
> --- a/arch/arm/boot/dts/mt7623.dtsi
> +++ b/arch/arm/boot/dts/mt7623.dtsi
> @@ -130,14 +130,14 @@
> #clock-cells = <0>;
> };
>
> - rtc32k: oscillator at 1 {
> + rtc32k: oscillator-1 {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <32000>;
> clock-output-names = "rtc32k";
> };
>
> - clk26m: oscillator at 0 {
> + clk26m: oscillator-0 {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <26000000>;
> diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> index a6295ef..75e61c4 100644
> --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> @@ -158,7 +158,6 @@
> ports {
> #address-cells = <1>;
> #size-cells = <0>;
> - reg = <0>;
>
> port at 0 {
> reg = <0>;
> @@ -262,14 +261,14 @@
> };
>
> &pio {
> - cir_pins_a:cir at 0 {
> + cir_pins_a:cir-default {
> pins-cir {
> pinmux = <MT7623_PIN_46_IR_FUNC_IR>;
> bias-disable;
> };
> };
>
> - i2c0_pins_a: i2c at 0 {
> + i2c0_pins_a: i2c0-default {
> pins-i2c0 {
> pinmux = <MT7623_PIN_75_SDA0_FUNC_SDA0>,
> <MT7623_PIN_76_SCL0_FUNC_SCL0>;
> @@ -277,7 +276,7 @@
> };
> };
>
> - i2c1_pins_a: i2c at 1 {
> + i2c1_pins_a: i2c1-default {
> pin-i2c1 {
> pinmux = <MT7623_PIN_57_SDA1_FUNC_SDA1>,
> <MT7623_PIN_58_SCL1_FUNC_SCL1>;
> @@ -285,7 +284,7 @@
> };
> };
>
> - i2s0_pins_a: i2s at 0 {
> + i2s0_pins_a: i2s0-default {
> pin-i2s0 {
> pinmux = <MT7623_PIN_49_I2S0_DATA_FUNC_I2S0_DATA>,
> <MT7623_PIN_72_I2S0_DATA_IN_FUNC_I2S0_DATA_IN>,
> @@ -297,7 +296,7 @@
> };
> };
>
> - i2s1_pins_a: i2s at 1 {
> + i2s1_pins_b: i2s1-default {
Why does this change from i2s1_pins_a to i2s1_pins_b?
> pin-i2s1 {
> pinmux = <MT7623_PIN_33_I2S1_DATA_FUNC_I2S1_DATA>,
> <MT7623_PIN_34_I2S1_DATA_IN_FUNC_I2S1_DATA_IN>,
> @@ -309,7 +308,7 @@
> };
> };
>
> - key_pins_a: keys at 0 {
> + key_pins_a: keys-alt {
> pins-keys {
> pinmux = <MT7623_PIN_256_GPIO256_FUNC_GPIO256>,
> <MT7623_PIN_257_GPIO257_FUNC_GPIO257> ;
> @@ -317,7 +316,7 @@
> };
> };
>
> - led_pins_a: leds at 0 {
> + led_pins_a: leds-alt {
> pins-leds {
> pinmux = <MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239>,
> <MT7623_PIN_240_EXT_XCS_FUNC_GPIO240>,
> @@ -428,15 +427,15 @@
> };
> };
>
> - pcie_default: pcie_pin_default {
> - pins_cmd_dat {
> + pcie_default: pcie-pin-default {
> + pins-cmd-dat {
No pcie node present in upstream. Please rebase.
Regards,
Matthias
> pinmux = <MT7623_PIN_208_AUD_EXT_CK1_FUNC_PCIE0_PERST_N>,
> <MT7623_PIN_209_AUD_EXT_CK2_FUNC_PCIE1_PERST_N>;
> bias-disable;
> };
> };
>
> - pwm_pins_a: pwm at 0 {
> + pwm_pins_a: pwm-default {
> pins-pwm {
> pinmux = <MT7623_PIN_203_PWM0_FUNC_PWM0>,
> <MT7623_PIN_204_PWM1_FUNC_PWM1>,
> @@ -446,7 +445,7 @@
> };
> };
>
> - spi0_pins_a: spi at 0 {
> + spi0_pins_a: spi0-default {
> pins-spi {
> pinmux = <MT7623_PIN_53_SPI0_CSN_FUNC_SPI0_CS>,
> <MT7623_PIN_54_SPI0_CK_FUNC_SPI0_CK>,
> @@ -456,21 +455,21 @@
> };
> };
>
> - uart0_pins_a: uart at 0 {
> + uart0_pins_a: uart0-default {
> pins-dat {
> pinmux = <MT7623_PIN_79_URXD0_FUNC_URXD0>,
> <MT7623_PIN_80_UTXD0_FUNC_UTXD0>;
> };
> };
>
> - uart1_pins_a: uart at 1 {
> + uart1_pins_a: uart1-default {
> pins-dat {
> pinmux = <MT7623_PIN_81_URXD1_FUNC_URXD1>,
> <MT7623_PIN_82_UTXD1_FUNC_UTXD1>;
> };
> };
>
> - uart2_pins_a: uart at 2 {
> + uart2_pins_a: uart2-default {
> pins-dat {
> pinmux = <MT7623_PIN_14_GPIO14_FUNC_URXD2>,
> <MT7623_PIN_15_GPIO15_FUNC_UTXD2>;
> diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
> index 256c5fd..128586d 100644
> --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
> +++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi
> @@ -50,7 +50,7 @@
> reg = <0 0x80000000 0 0x40000000>;
> };
>
> - usb_p1_vbus: regulator at 0 {
> + usb_p1_vbus: regulator-5v {
> compatible = "regulator-fixed";
> regulator-name = "usb_vbus";
> regulator-min-microvolt = <5000000>;
>
next prev parent reply other threads:[~2018-03-18 21:54 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 10:16 [PATCH v1 00/19] refactor dts and add support for more boards sean.wang at mediatek.com
2018-02-23 10:16 ` [PATCH v1 01/19] dt-bindings: pinctrl: mediatek: use - instead of _ in examples sean.wang at mediatek.com
2018-03-02 7:43 ` Linus Walleij
2018-02-23 10:16 ` [PATCH v1 02/19] dt-bindings: cpufreq: " sean.wang at mediatek.com
2018-02-26 4:13 ` Viresh Kumar
2018-03-19 2:51 ` Sean Wang
2018-03-19 10:35 ` Matthias Brugger
2018-03-02 15:53 ` Rob Herring
2018-02-23 10:16 ` [PATCH v1 03/19] dt-bindings: pinctrl: mediatek: add bindings for I2C2 and SPI2 on MT7623 sean.wang at mediatek.com
2018-03-02 7:44 ` Linus Walleij
2018-02-23 10:16 ` [PATCH v1 04/19] dt-bindings: arm: mediatek: add support for more mt7623 reference boards sean.wang at mediatek.com
2018-03-02 16:00 ` Rob Herring
2018-03-12 11:03 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 05/19] arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes sean.wang at mediatek.com
2018-03-12 9:40 ` Matthias Brugger
2018-03-12 9:53 ` Sean Wang
2018-02-23 10:16 ` [PATCH v1 06/19] arm: dts: mt7623: fix USB initialization fails on bananapi-r2 sean.wang at mediatek.com
2018-03-12 11:03 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 07/19] arm: dts: mt7623: fix the regulators mmc should use " sean.wang at mediatek.com
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 08/19] arm: dts: mt7623: enable three available UARTs " sean.wang at mediatek.com
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 09/19] arm: dts: mt7623: add related clock properties to cpu[1-3] nodes sean.wang at mediatek.com
2018-02-26 4:13 ` Viresh Kumar
2018-03-18 23:49 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 10/19] arm: dts: mt7623: remove useless property pinctrl-names at node switch@0 sean.wang at mediatek.com
2018-03-18 23:50 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 11/19] arm: dts: mt7623: use - instead of _ in DT node name sean.wang at mediatek.com
2018-03-18 23:50 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 12/19] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg) sean.wang at mediatek.com
2018-03-18 21:54 ` Matthias Brugger [this message]
2018-02-23 10:16 ` [PATCH v1 13/19] arm: dts: mt7623: move node mt6323 leds to mt6323.dtsi sean.wang at mediatek.com
2018-03-02 15:40 ` Rob Herring
2018-03-02 22:46 ` Sean Wang
2018-03-18 23:46 ` Matthias Brugger
2018-03-18 22:01 ` Matthias Brugger
2018-02-23 10:16 ` [PATCH v1 14/19] arm: dts: mt7623: extend common file to unify all boards with MT7623 SoCs sean.wang at mediatek.com
2018-02-23 10:16 ` [PATCH v1 15/19] arm: dts: mt7623: add SPI[1, 2], I2C2 and sound related nodes to reference board sean.wang at mediatek.com
2018-02-23 10:16 ` [PATCH v1 16/19] arm: dts: mt7623: fixup available memory size on bananapi-r2 sean.wang at mediatek.com
2018-03-02 15:42 ` Rob Herring
2018-03-02 23:27 ` Sean Wang
2018-03-05 14:16 ` Rob Herring
2018-03-05 15:46 ` Sean Wang
2018-02-23 10:16 ` [PATCH v1 17/19] arm: dts: mt7623: add MT7623N reference board with eMMC sean.wang at mediatek.com
2018-02-23 10:16 ` [PATCH v1 18/19] arm: dts: mt7623: add MT7623A reference boards sean.wang at mediatek.com
2018-03-02 15:45 ` Rob Herring
2018-03-03 2:15 ` Sean Wang
2018-03-05 14:10 ` Rob Herring
2018-03-05 15:10 ` Sean Wang
2018-02-23 10:16 ` [PATCH v1 19/19] arm: dts: mediatek: converted to using SPDX identifiers sean.wang at mediatek.com
2018-03-02 15:52 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ff8d1ab-704a-1263-ec16-a9f3464b5798@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).