dts: arm: nxp: ke1xf: rename nodelabels to match SoC docs

Have nodelabels match the SoC docs so when a nodelabel reference is
made in the code its easier to relate to the SoC.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-15 14:48:51 -05:00 committed by Maureen Helm
commit a754ea370d
8 changed files with 73 additions and 73 deletions

View file

@ -31,16 +31,16 @@
blue-pwm-led = &tri_blue_pwm_led;
sw0 = &user_button_3;
sw1 = &user_button_2;
can-primary = &can0;
can-primary = &flexcan0;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-pipe = &uart0;
zephyr,console = &lpuart0;
zephyr,shell-uart = &lpuart0;
zephyr,uart-pipe = &lpuart0;
};
leds {
@ -79,32 +79,32 @@
pwmleds {
compatible = "pwm-leds";
orange_pwm_led: led_pwm_0 {
pwms = <&pwm3 7 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm3 7 60000 PWM_POLARITY_INVERTED>;
label = "User PWM LED D9";
};
yellow_pwm_led: led_pwm_1 {
pwms = <&pwm3 6 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm3 6 60000 PWM_POLARITY_INVERTED>;
label = "User PWM LED D8";
};
green_pwm_led: led_pwm_2 {
pwms = <&pwm3 5 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm3 5 60000 PWM_POLARITY_INVERTED>;
label = "User PWM LED D7";
};
red_pwm_led: led_pwm_3 {
pwms = <&pwm3 4 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm3 4 60000 PWM_POLARITY_INVERTED>;
label = "User PWM LED D6";
};
tri_red_pwm_led: led_pwm_4 {
pwms = <&pwm0 1 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm0 1 60000 PWM_POLARITY_INVERTED>;
label = "User Tricolor PWM LED D5 (Red)";
};
tri_green_pwm_led: led_pwm_5 {
pwms = <&pwm0 0 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm0 0 60000 PWM_POLARITY_INVERTED>;
label = "User Tricolor PWM LED D5 (Green)";
};
tri_blue_pwm_led: led_pwm_6 {
pwms = <&pwm0 5 60000 PWM_POLARITY_INVERTED>;
pwms = <&ftm0 5 60000 PWM_POLARITY_INVERTED>;
label = "User Tricolor PWM LED D5 (Blue)";
};
};
@ -155,20 +155,20 @@
clkout-source = <KINETIS_SCG_CLKOUT_SRC_FIRC>;
};
&uart0 {
&lpuart0 {
status = "okay";
current-speed = <115200>;
};
&pwm0 {
&ftm0 {
status = "okay";
};
&pwm3 {
&ftm3 {
status = "okay";
};
&i2c0 {
&lpi2c0 {
status = "okay";
fxos8700: fxos8700@1d {
@ -179,15 +179,15 @@
};
};
&i2c1 {
&lpi2c1 {
status = "okay";
};
&spi0 {
&lpspi0 {
status = "okay";
};
&spi1 {
&lpspi1 {
status = "okay";
};
@ -200,7 +200,7 @@
status = "okay";
};
&can0 {
&flexcan0 {
status = "okay";
bus-speed = <125000>;
};

View file

@ -6,5 +6,5 @@
#include <nxp/nxp_ke1xf256vlx16.dtsi>
/delete-node/ &can0;
/delete-node/ &can1;
/delete-node/ &flexcan0;
/delete-node/ &flexcan1;

View file

@ -6,5 +6,5 @@
#include <nxp/nxp_ke1xf512vlx16.dtsi>
/delete-node/ &can0;
/delete-node/ &can1;
/delete-node/ &flexcan0;
/delete-node/ &flexcan1;

View file

@ -6,10 +6,10 @@
#include <nxp/nxp_ke1xf256vlx16.dtsi>
/delete-node/ &can1;
/delete-node/ &flexcan1;
/ {
aliases {
can-0 = &can0;
can-0 = &flexcan0;
};
};

View file

@ -6,10 +6,10 @@
#include <nxp/nxp_ke1xf512vlx16.dtsi>
/delete-node/ &can1;
/delete-node/ &flexcan1;
/ {
aliases {
can-0 = &can0;
can-0 = &flexcan0;
};
};

View file

@ -8,7 +8,7 @@
/ {
aliases {
can-0 = &can0;
can-1 = &can1;
can-0 = &flexcan0;
can-1 = &flexcan1;
};
};

View file

@ -8,7 +8,7 @@
/ {
aliases {
can-0 = &can0;
can-1 = &can1;
can-0 = &flexcan0;
can-1 = &flexcan1;
};
};

View file

@ -12,19 +12,19 @@
/ {
aliases {
watchdog0 = &wdog0;
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
i2c-0 = &i2c0;
i2c-1 = &i2c1;
spi-0 = &spi0;
spi-1 = &spi1;
pinmux-a = &pinmux_a;
pinmux-b = &pinmux_b;
pinmux-c = &pinmux_c;
pinmux-d = &pinmux_d;
pinmux-e = &pinmux_e;
watchdog0 = &wdog;
uart-0 = &lpuart0;
uart-1 = &lpuart1;
uart-2 = &lpuart2;
i2c-0 = &lpi2c0;
i2c-1 = &lpi2c1;
spi-0 = &lpspi0;
spi-1 = &lpspi1;
pinmux-a = &porta;
pinmux-b = &portb;
pinmux-c = &portc;
pinmux-d = &portd;
pinmux-e = &porte;
gpio-a = &gpioa;
gpio-b = &gpiob;
gpio-c = &gpioc;
@ -33,10 +33,10 @@
adc-0 = &adc0;
adc-1 = &adc1;
adc-2 = &adc2;
pwm-0 = &pwm0;
pwm-1 = &pwm1;
pwm-2 = &pwm2;
pwm-3 = &pwm3;
pwm-0 = &ftm0;
pwm-1 = &ftm1;
pwm-2 = &ftm2;
pwm-3 = &ftm3;
};
cpus {
@ -125,7 +125,7 @@
#clock-cells = <2>;
};
rtc0: rtc@4003d000 {
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
reg = <0x4003d000 0x1000>;
interrupts = <46 0>, <47 0>;
@ -145,7 +145,7 @@
label = "LPTMR_0";
};
wdog0: watchdog@40052000 {
wdog: watchdog@40052000 {
compatible = "nxp,kinetis-wdog32";
reg = <0x40052000 0x1000>;
interrupts = <22 0>;
@ -166,7 +166,7 @@
#size-cells = <1>;
};
uart0: uart@4006a000 {
lpuart0: uart@4006a000 {
compatible = "nxp,kinetis-lpuart";
reg = <0x4006a000 0x1000>;
interrupts = <31 0>, <32 0>;
@ -176,7 +176,7 @@
status = "disabled";
};
uart1: uart@4006b000 {
lpuart1: uart@4006b000 {
compatible = "nxp,kinetis-lpuart";
reg = <0x4006b000 0x1000>;
interrupts = <33 0>, <34 0>;
@ -186,7 +186,7 @@
status = "disabled";
};
uart2: uart@4006c000 {
lpuart2: uart@4006c000 {
compatible = "nxp,kinetis-lpuart";
reg = <0x4006c000 0x1000>;
interrupts = <35 0>, <36 0>;
@ -196,7 +196,7 @@
status = "disabled";
};
i2c0: i2c@40066000 {
lpi2c0: i2c@40066000 {
compatible = "nxp,imx-lpi2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
@ -208,7 +208,7 @@
status = "disabled";
};
i2c1: i2c@40067000 {
lpi2c1: i2c@40067000 {
compatible = "nxp,imx-lpi2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
@ -220,7 +220,7 @@
status = "disabled";
};
spi0: spi@4002c000 {
lpspi0: spi@4002c000 {
compatible = "nxp,imx-lpspi";
reg = <0x4002c000 0x1000>;
interrupts = <26 0>;
@ -231,7 +231,7 @@
#size-cells = <0>;
};
spi1: spi@4002d000 {
lpspi1: spi@4002d000 {
compatible = "nxp,imx-lpspi";
reg = <0x4002d000 0x1000>;
interrupts = <27 0>;
@ -242,7 +242,7 @@
#size-cells = <0>;
};
can0: can@40024000 {
flexcan0: can@40024000 {
compatible = "nxp,kinetis-flexcan";
reg = <0x40024000 0x1000>;
interrupts = <78 0>, <79 0>, <80 0>, <81 0>;
@ -260,7 +260,7 @@
#size-cells = <0>;
};
can1: can@40025000 {
flexcan1: can@40025000 {
compatible = "nxp,kinetis-flexcan";
reg = <0x40025000 0x1000>;
interrupts = <85 0>, <86 0>, <87 0>, <88 0>;
@ -278,31 +278,31 @@
#size-cells = <0>;
};
pinmux_a: pinmux@40049000 {
porta: pinmux@40049000 {
compatible = "nxp,kinetis-pinmux";
reg = <0x40049000 0x1000>;
clocks = <&pcc 0x124 KINETIS_PCC_SRC_NONE_OR_EXT>;
};
pinmux_b: pinmux@4004a000 {
portb: pinmux@4004a000 {
compatible = "nxp,kinetis-pinmux";
reg = <0x4004a000 0x1000>;
clocks = <&pcc 0x128 KINETIS_PCC_SRC_NONE_OR_EXT>;
};
pinmux_c: pinmux@4004b000 {
portc: pinmux@4004b000 {
compatible = "nxp,kinetis-pinmux";
reg = <0x4004b000 0x1000>;
clocks = <&pcc 0x12c KINETIS_PCC_SRC_NONE_OR_EXT>;
};
pinmux_d: pinmux@4004c000 {
portd: pinmux@4004c000 {
compatible = "nxp,kinetis-pinmux";
reg = <0x4004c000 0x1000>;
clocks = <&pcc 0x130 KINETIS_PCC_SRC_NONE_OR_EXT>;
};
pinmux_e: pinmux@4004d000 {
porte: pinmux@4004d000 {
compatible = "nxp,kinetis-pinmux";
reg = <0x4004d000 0x1000>;
clocks = <&pcc 0x134 KINETIS_PCC_SRC_NONE_OR_EXT>;
@ -315,7 +315,7 @@
label = "GPIO_0";
gpio-controller;
#gpio-cells = <2>;
nxp,kinetis-port = <&pinmux_a>;
nxp,kinetis-port = <&porta>;
};
gpiob: gpio@400ff040 {
@ -325,7 +325,7 @@
label = "GPIO_1";
gpio-controller;
#gpio-cells = <2>;
nxp,kinetis-port = <&pinmux_b>;
nxp,kinetis-port = <&portb>;
};
gpioc: gpio@400ff080 {
@ -335,7 +335,7 @@
label = "GPIO_2";
gpio-controller;
#gpio-cells = <2>;
nxp,kinetis-port = <&pinmux_c>;
nxp,kinetis-port = <&portc>;
};
gpiod: gpio@400ff0c0 {
@ -345,7 +345,7 @@
label = "GPIO_3";
gpio-controller;
#gpio-cells = <2>;
nxp,kinetis-port = <&pinmux_d>;
nxp,kinetis-port = <&portd>;
};
gpioe: gpio@400ff100 {
@ -355,7 +355,7 @@
label = "GPIO_4";
gpio-controller;
#gpio-cells = <2>;
nxp,kinetis-port = <&pinmux_e>;
nxp,kinetis-port = <&porte>;
};
adc0: adc@4003b000 {
@ -394,7 +394,7 @@
#io-channel-cells = <1>;
};
pwm0: pwm@40038000 {
ftm0: pwm@40038000 {
compatible = "nxp,kinetis-ftm";
reg = <0x40038000 0x1000>;
interrupts = <42 0>;
@ -404,7 +404,7 @@
status = "disabled";
};
pwm1: pwm@40039000 {
ftm1: pwm@40039000 {
compatible = "nxp,kinetis-ftm";
reg = <0x40039000 0x1000>;
interrupts = <43 0>;
@ -414,7 +414,7 @@
status = "disabled";
};
pwm2: pwm@4003a000 {
ftm2: pwm@4003a000 {
compatible = "nxp,kinetis-ftm";
reg = <0x4003a000 0x1000>;
interrupts = <44 0>;
@ -424,7 +424,7 @@
status = "disabled";
};
pwm3: pwm@40026000 {
ftm3: pwm@40026000 {
compatible = "nxp,kinetis-ftm";
reg = <0x40026000 0x1000>;
interrupts = <71 0>;